Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
delay the inclusion of standard headers so that _CRT_*_NO_WARNINGS gets defined on...
authorMartin Quinson <martin.quinson@loria.fr>
Mon, 14 Sep 2015 09:55:07 +0000 (11:55 +0200)
committerMartin Quinson <martin.quinson@loria.fr>
Thu, 17 Sep 2015 12:10:29 +0000 (14:10 +0200)
include/xbt/automaton.h
include/xbt/config.h
src/xbt/config.c
src/xbt/graph.c
src/xbt/xbt_replay.c

index a42027a..6450412 100644 (file)
@@ -7,11 +7,11 @@
 #ifndef _XBT_AUTOMATON_H
 #define _XBT_AUTOMATON_H
 
-#include <stdlib.h>
-#include <string.h>
 #include <xbt/dynar.h>
 #include <xbt/sysdep.h>
 #include <xbt/graph.h>
+#include <stdlib.h>
+#include <string.h>
 
 SG_BEGIN_DECL()
 
index e2d82d5..57fdd2f 100644 (file)
@@ -11,8 +11,8 @@
 #ifndef _XBT_CONFIG_H_
 #define _XBT_CONFIG_H_
 
-#include <stdarg.h>
 #include "xbt/dynar.h"
+#include <stdarg.h>
 
 SG_BEGIN_DECL()
 
index 69389e7..3f8a5e4 100644 (file)
@@ -8,7 +8,6 @@
 /* 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. */
 
-#include <stdio.h>
 #include "xbt/misc.h"
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
@@ -17,6 +16,8 @@
 #include "xbt/dict.h"
 #include "xbt/peer.h"
 
+#include <stdio.h>
+
 #include "xbt/config.h"         /* prototypes of this module */
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_cfg, xbt, "configuration support");
index 5d36290..a0d6538 100644 (file)
@@ -6,8 +6,6 @@
 /* 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. */
 
-#include <errno.h>
-#include <stdlib.h>
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/graph.h"
@@ -18,6 +16,8 @@
 #include "xbt/str.h"
 #include "xbt/file.h"
 
+#include <errno.h>
+#include <stdlib.h>
 
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(xbt_graph, xbt, "Graph");
index 4b2872b..2802f52 100644 (file)
@@ -5,12 +5,13 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "internal_config.h"
-#include <errno.h>
 #include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/str.h"
 #include "xbt/file.h"
 #include "xbt/replay.h"
+
+#include <errno.h>
 #include <ctype.h>
 #include <wchar.h>