Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Switch to C++
[simgrid.git] / src / mc / mc_config.cpp
similarity index 99%
rename from src/mc/mc_config.c
rename to src/mc/mc_config.cpp
index 79e2be3..9239ba8 100644 (file)
@@ -20,6 +20,8 @@
 
 #include "mc_record.h"
 
+extern "C" {
+
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(mc_config, mc,
                                 "Configuration of MC");
 
@@ -183,3 +185,5 @@ void _mc_cfg_cb_termination(const char *name, int pos)
 }
 
 #endif
+
+}