Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Reduce the visibility of stdio.h because it was loaded wrongly (ie, before _GNU_SOURC...
[simgrid.git] / include / surf / surfxml_parse.h
index 5b5bb25..854edae 100644 (file)
@@ -8,8 +8,8 @@
 #ifndef _SURF_SURFXML_PARSE_H
 #define _SURF_SURFXML_PARSE_H
 
+#include <stdio.h> /* to have FILE */
 #include "surf/surfxml.h"
-#include "xbt/sysdep.h" /* to have FILE */
 #include "xbt/function_types.h"
 /* Entry-point of the surfxml parser. */
 extern int_f_void_t *surf_parse;
@@ -40,10 +40,10 @@ XBT_PUBLIC(void) surf_parse_get_double(double *value,const char *string);
 /* Prototypes of the functions offered by flex */
 XBT_PUBLIC(int) surf_parse_lex(void);
 XBT_PUBLIC(int) surf_parse_get_lineno(void);
-XBT_PUBLIC(FILE) *surf_parse_get_in(void);
-XBT_PUBLIC(FILE) *surf_parse_get_out(void);
+XBT_PUBLIC(FILE*) surf_parse_get_in(void);
+XBT_PUBLIC(FILE*) surf_parse_get_out(void);
 XBT_PUBLIC(int) surf_parse_get_leng(void);
-XBT_PUBLIC(char) *surf_parse_get_text(void);
+XBT_PUBLIC(char*) surf_parse_get_text(void);
 XBT_PUBLIC(void) surf_parse_set_lineno(int line_number);
 XBT_PUBLIC(void) surf_parse_set_in(FILE * in_str);
 XBT_PUBLIC(void) surf_parse_set_out(FILE * out_str);