Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[msg] Switch MSG to .cpp
[simgrid.git] / src / msg / msg_global.cpp
similarity index 99%
rename from src/msg/msg_global.c
rename to src/msg/msg_global.cpp
index 818d331..f0df69f 100644 (file)
@@ -4,6 +4,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 "simgrid/msg.h"
 #include "instr/instr_interface.h"
 #include "msg_private.h"
 #include "msg_mailbox.h"
@@ -180,7 +181,7 @@ static void MSG_exit(void) {
 /** \ingroup msg_simulation
  * \brief A clock (in second).
  */
-XBT_INLINE double MSG_get_clock(void)
+double MSG_get_clock(void)
 {
   return SIMIX_get_clock();
 }