Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a bunch of compilation warnings
authormquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Dec 2010 08:46:28 +0000 (08:46 +0000)
committermquinson <mquinson@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 14 Dec 2010 08:46:28 +0000 (08:46 +0000)
* SIMIX_comm_is_latency_bounded() is inline, so should its prototype
* load gras_config.h to get the prototype of getline

git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@9228 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/replay/replay_trace_reader.c
src/simix/network_private.h

index b420ad0..2804d41 100644 (file)
@@ -3,8 +3,7 @@
 
 /* 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 <stdlib.h>
+#include "gras_config.h"
 #include <errno.h>
 #include "replay.h"
 #include "xbt/str.h"
index f7f2ce9..a66b5d9 100644 (file)
@@ -21,7 +21,7 @@ void SIMIX_network_init(void);
 void SIMIX_network_exit(void);
 
 #ifdef HAVE_LATENCY_BOUND_TRACKING
-XBT_PUBLIC(int) SIMIX_comm_is_latency_bounded(smx_action_t comm);
+XBT_INLINE XBT_PUBLIC(int) SIMIX_comm_is_latency_bounded(smx_action_t comm);
 #endif
 
 smx_rdv_t SIMIX_rdv_create(const char *name);