X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4c89f4186519b2579cb507ee3d3965651a65df14..4bf6682034e2be71fe53412d8f671d9f4876eab9:/include/surf/surfxml_parse.h diff --git a/include/surf/surfxml_parse.h b/include/surf/surfxml_parse.h index 72eac5d647..d2485c2765 100644 --- a/include/surf/surfxml_parse.h +++ b/include/surf/surfxml_parse.h @@ -12,7 +12,7 @@ #include "surf/surfxml.h" #include "xbt/function_types.h" /* Entry-point of the surfxml parser. */ -extern int_f_void_t * XBT_PUBLIC_DATA surf_parse; +XBT_PUBLIC_DATA(int_f_void_t *) surf_parse; /* Hook for the different tags. They can be redefined at will whereas the versions without the _fun can't. */ @@ -29,10 +29,10 @@ extern void_f_void_t *STag_surfxml_route_fun; extern void_f_void_t *ETag_surfxml_route_fun; extern void_f_void_t *STag_surfxml_route_element_fun; extern void_f_void_t *ETag_surfxml_route_element_fun; -extern void_f_void_t * XBT_PUBLIC_DATA STag_surfxml_process_fun; -extern void_f_void_t * XBT_PUBLIC_DATA ETag_surfxml_process_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_process_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_process_fun; extern void_f_void_t *STag_surfxml_argument_fun; -extern void_f_void_t * XBT_PUBLIC_DATA ETag_surfxml_argument_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_argument_fun; XBT_PUBLIC(void) surf_parse_open(const char *file); XBT_PUBLIC(void) surf_parse_close(void);