Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ok, I'm a lammer, and I cannot get the rule from an unit to its mother file right...
[simgrid.git] / src / surf / surf_parse.c
index 1331cba..e432e14 100644 (file)
@@ -7,7 +7,7 @@
 
 #include "xbt/misc.h"
 #include "xbt/log.h"
-#include "surf/surf_parse.h"
+#include "surf/surf_parse_private.h"
 #include "surf/surf_private.h"
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(parse, surf ,"Logging specific to the SURF  module");
 
@@ -178,11 +178,14 @@ void  surf_parse_close(void) {
   }
 }
 
-int surf_parse(void)
+
+static int _surf_parse(void)
 {
   return surf_parse_lex();
 }
 
+int_f_void_t surf_parse = _surf_parse;
+
 void surf_parse_get_double(double *value,const char *string)
 { 
   int ret = 0;