X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/18c57b27dd71ee7839c6a90368c845886a87d638..65820b2b3a3ce25fb8df2321530644a22eaf9e76:/src/msg/msg_global.c diff --git a/src/msg/msg_global.c b/src/msg/msg_global.c index 7b0c29e6ac..1cfcfa3ccf 100644 --- a/src/msg/msg_global.c +++ b/src/msg/msg_global.c @@ -64,7 +64,9 @@ void MSG_global_init(int *argc, char **argv) msg_global = xbt_new0(s_MSG_Global_t, 1); +#ifdef MSG_USE_DEPRECATED msg_global->max_channel = 0; +#endif msg_global->PID = 1; msg_global->sent_msg = 0; msg_global->task_copy_callback = NULL; @@ -85,6 +87,7 @@ void MSG_global_init(int *argc, char **argv) MSG_HOST_LEVEL = xbt_lib_add_level(host_lib, (void_f_pvoid_t) __MSG_host_destroy); } +#ifdef MSG_USE_DEPRECATED /** \defgroup m_channel_management Understanding channels * \brief This section briefly describes the channel notion of MSG * (#m_channel_t). @@ -138,6 +141,7 @@ int MSG_get_channel_number(void) return msg_global->max_channel; } +#endif /** \ingroup msg_simulation * \brief Launch the MSG simulation