Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
please sonar with some compliant macro names
authorFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 8 Mar 2017 07:58:07 +0000 (08:58 +0100)
committerFrederic Suter <frederic.suter@cc.in2p3.fr>
Wed, 8 Mar 2017 07:58:07 +0000 (08:58 +0100)
15 files changed:
include/surf/surf_routing.h
include/xbt.h
include/xbt/asserts.h
include/xbt/automaton.h
include/xbt/backtrace.h
include/xbt/ex.h
include/xbt/heap.h
include/xbt/lib.h
include/xbt/log.h
include/xbt/mallocator.h
include/xbt/module.h
include/xbt/parmap.h
include/xbt/synchro.h
include/xbt/sysdep.h
include/xbt/xbt_os_time.h

index 725f8a1..20384e3 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _SURF_SURF_ROUTING_H
-#define _SURF_SURF_ROUTING_H
+#ifndef SURF_SURF_ROUTING_H
+#define SURF_SURF_ROUTING_H
 
 #include "xbt/lib.h"
 
index 66e97a7..c30e685 100644 (file)
@@ -6,8 +6,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef xbt_H
-#define xbt_H
+#ifndef XBT_H
+#define XBT_H
 
 #include <xbt/misc.h>
 #include <xbt/sysdep.h>
index 30d9a34..b3494cf 100644 (file)
@@ -6,8 +6,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_ASSERTS_H
-#define _XBT_ASSERTS_H
+#ifndef XBT_ASSERTS_H
+#define XBT_ASSERTS_H
 
 #include "xbt/misc.h"
 #include "xbt/log.h"
@@ -49,4 +49,4 @@ XBT_PUBLIC_DATA(int) xbt_log_no_loc; /* Do not show the backtrace on failed back
 
 /** @} */
 SG_END_DECL()
-#endif                          /* _XBT_ASSERTS_H */
+#endif                          /* XBT_ASSERTS_H */
index 6b8be48..1ba708f 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_AUTOMATON_H
-#define _XBT_AUTOMATON_H
+#ifndef XBT_AUTOMATON_H
+#define XBT_AUTOMATON_H
 
 #include <xbt/dynar.h>
 #include <xbt/sysdep.h>
index 508cbc5..90df0a3 100644 (file)
@@ -1,7 +1,7 @@
 /* Copyright (c) 2005-2016. The SimGrid Team. All rights reserved.          */
 
-#ifndef SIMGRIX_XBT_BACKTRACE_H
-#define SIMGRIX_XBT_BACKTRACE_H
+#ifndef XBT_BACKTRACE_H
+#define XBT_BACKTRACE_H
 
 #include <cstddef>
 
index 16b1d64..6307177 100644 (file)
@@ -40,8 +40,8 @@
 /* The extensions made for the SimGrid project can either be distributed    */
 /* under the same license, or under the LGPL v2.1                           */
 
-#ifndef __XBT_EX_H__
-#define __XBT_EX_H__
+#ifndef XBT_EX_H
+#define XBT_EX_H
 
 #include <stdlib.h>
 
index 89ee7d1..7e4ea84 100644 (file)
@@ -4,8 +4,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_HEAP_H
-#define _XBT_HEAP_H
+#ifndef XBT_HEAP_H
+#define XBT_HEAP_H
 
 #include "xbt/misc.h"
 #include "xbt/dynar.h"          /* void_f_pvoid_t */
index 15553e3..56a9007 100644 (file)
@@ -6,8 +6,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_LIB_H
-#define _XBT_LIB_H
+#ifndef XBT_LIB_H
+#define XBT_LIB_H
 
 #include <xbt/dict.h>
 
index 4c24f32..3ec9eb4 100644 (file)
@@ -25,8 +25,8 @@
    printf function. Useful to debug the logging facilities themselves, or to not make source analysis tools mad */
 //#define XBT_LOG_MAYDAY
 
-#ifndef _XBT_LOG_H_
-#define _XBT_LOG_H_
+#ifndef XBT_LOG_H
+#define XBT_LOG_H
 
 #include "xbt/misc.h"
 #include <stdarg.h>
index a114cdf..e607e10 100644 (file)
@@ -6,8 +6,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_MALLOCATOR_H
-#define _XBT_MALLOCATOR_H
+#ifndef XBT_MALLOCATOR_H
+#define XBT_MALLOCATOR_H
 
 #include "xbt/function_types.h"
 #include "xbt/misc.h"
index 7e00a6f..ba5b03f 100644 (file)
@@ -5,8 +5,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_MODULE_H
-#define _XBT_MODULE_H
+#ifndef XBT_MODULE_H
+#define XBT_MODULE_H
 
 #include <xbt/misc.h>           /* XBT_PUBLIC */
 
index 15257b5..89a8434 100644 (file)
@@ -6,8 +6,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_PARMAP_H
-#define _XBT_PARMAP_H
+#ifndef XBT_PARMAP_H
+#define XBT_PARMAP_H
 
 #include "xbt/misc.h"           /* SG_BEGIN_DECL */
 #include "xbt/function_types.h"
index d0664f9..340ef71 100644 (file)
@@ -5,8 +5,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_THREAD_H
-#define _XBT_THREAD_H
+#ifndef XBT_THREAD_H
+#define XBT_THREAD_H
 
 #include <simgrid/simix.h>
 
index 82f2c24..fac49a7 100644 (file)
@@ -8,8 +8,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_SYSDEP_H
-#define _XBT_SYSDEP_H
+#ifndef XBT_SYSDEP_H
+#define XBT_SYSDEP_H
 
 #include "xbt/log.h"
 #include "xbt/misc.h"
@@ -136,4 +136,4 @@ SG_END_DECL()
 
 /** @} */
 
-#endif                          /* _XBT_SYSDEP_H */
+#endif                          /* XBT_SYSDEP_H */
index 0d3fa3c..47f33be 100644 (file)
@@ -5,8 +5,8 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
-#ifndef _XBT_OS_TIMER_H
-#define _XBT_OS_TIMER_H
+#ifndef XBT_OS_TIMER_H
+#define XBT_OS_TIMER_H
 
 #include <xbt/misc.h>           /* XBT_PUBLIC */
 #include <stddef.h>             /* size_t */