Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
try to sort out the surf headers a bit, if possible
[simgrid.git] / src / surf / surf_interface.cpp
index dccea91c25d43b916a446a866576c7b696340ee5..d138d206524ddd1b626ac10e0f47d4a996529324 100644 (file)
@@ -14,6 +14,8 @@
 #include "simgrid/sg_config.h"
 #include "mc/mc.h"
 #include "virtual_machine.hpp"
+#include "src/instr/instr_private.h" // TRACE_is_enabled(). FIXME: remove by subscribing tracing to the surf signals
+
 
 XBT_LOG_NEW_CATEGORY(surf, "All SURF categories");
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_kernel, surf,
@@ -378,8 +380,7 @@ void surf_exit(void)
 #endif
 
   tmgr_finalize();
-  surf_parse_lex_destroy();
-  surf_parse_free_callbacks();
+  sg_platf_exit();
 
   NOW = 0;                      /* Just in case the user plans to restart the simulation afterward */
 }