Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge pull request #256 from Flamefire/master
[simgrid.git] / include / xbt / asserts.h
index e268b0d..da09fba 100644 (file)
@@ -6,15 +6,15 @@
 /* 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"
 #include "xbt/ex.h"
 
 SG_BEGIN_DECL()
-extern int xbt_log_no_loc; /* Do not show the backtrace on failed backtrace when doing our tests */
+XBT_PUBLIC_DATA int xbt_log_no_loc; /* Do not show the backtrace on failed backtrace when doing our tests */
 
 /**
  * @addtogroup XBT_error
@@ -49,4 +49,4 @@ extern int xbt_log_no_loc; /* Do not show the backtrace on failed backtrace when
 
 /** @} */
 SG_END_DECL()
-#endif                          /* _XBT_ASSERTS_H */
+#endif                          /* XBT_ASSERTS_H */