From: mquinson Date: Tue, 14 Dec 2010 08:46:28 +0000 (+0000) Subject: fix a bunch of compilation warnings X-Git-Tag: v3.6_beta2~695 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/fed4ee0e44358963b1d0c65f88b78f201b46f9f7?hp=254ddf849110ef74a128f5e4736deb067a6d6f78 fix a bunch of compilation warnings * 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 --- diff --git a/src/replay/replay_trace_reader.c b/src/replay/replay_trace_reader.c index b420ad0437..2804d4192d 100644 --- a/src/replay/replay_trace_reader.c +++ b/src/replay/replay_trace_reader.c @@ -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 -#include +#include "gras_config.h" #include #include "replay.h" #include "xbt/str.h" diff --git a/src/simix/network_private.h b/src/simix/network_private.h index f7f2ce9066..a66b5d946d 100644 --- a/src/simix/network_private.h +++ b/src/simix/network_private.h @@ -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);