Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
finer inclusion of sysdep.h
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 30 Mar 2006 20:17:32 +0000 (20:17 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Thu, 30 Mar 2006 20:17:32 +0000 (20:17 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@2020 48e7efb5-ca39-0410-a469-dd3cf9ba447f

examples/msg/msg_test.c
examples/msg/msg_test_suspend.c
include/msg/msg.h
include/surf/surfxml_parse.h
include/xbt/ex.h
include/xbt/swag.h
src/xbt/graphxml_parse.c

index 826a9ef..e692d0a 100644 (file)
@@ -6,9 +6,11 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
+#include "xbt/sysdep.h" /* calloc, printf */
 
 /* Create a log channel to have nice outputs. */
 #include "xbt/log.h"
+#include "xbt/asserts.h"
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example");
 
 int master(int argc, char *argv[]);
index e1119a8..1392574 100644 (file)
@@ -6,7 +6,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
-
+#include "xbt/sysdep.h" /* calloc, printf */
 
 /* Create a log channel to have nice outputs. */
 #include "xbt/log.h"
index 4a570b6..cd8b1a1 100644 (file)
@@ -9,7 +9,6 @@
 #define MSG_H
 
 #include "xbt/misc.h"
-#include "xbt/sysdep.h"
 
 #include "msg/datatypes.h"
 SG_BEGIN_DECL()
index f2539be..9604b3f 100644 (file)
@@ -9,6 +9,7 @@
 #define _SURF_SURFXML_PARSE_H
 
 #include "surf/surfxml.h"
+#include "xbt/sysdep.h" /* to have FILE */
 #include "xbt/misc.h"
 
 /* Entry-point of the surfxml parser. */
index 3a4a7ba..e8594e7 100644 (file)
@@ -32,8 +32,8 @@
 #ifndef __XBT_EX_H__
 #define __XBT_EX_H__
 
-#include <xbt/misc.h>
 #include <xbt/sysdep.h>
+#include <xbt/misc.h>
 
 /* do not include execinfo.h directly since it's not always available. 
    Instead, copy the parts we need (and fake when it's not there) */
index be73804..863b8a5 100644 (file)
@@ -13,8 +13,7 @@
 #define _XBT_SWAG_H
 
 #include "xbt/misc.h"
-#include "xbt/sysdep.h"
-
+#include "xbt/sysdep.h" /* sizeof */
 
 /** 
  * @addtogroup XBT_swag
index e56b6db..a846315 100644 (file)
@@ -6,6 +6,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "xbt/misc.h"
+#include "xbt/sysdep.h"
 #include "xbt/log.h"
 #include "xbt/asserts.h"