From: alegrand Date: Wed, 8 Aug 2007 10:33:42 +0000 (+0000) Subject: Clean use of extern (XBT_PUBLIC_DATA). No automatic way of doing that as this is... X-Git-Tag: v3.3~1307 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9cb5e3d70f7208a4903b08fe41bee83df55ec2d2?ds=sidebyside;hp=44e9ce02788f6c438b9c5383b34c09b8a440b74b Clean use of extern (XBT_PUBLIC_DATA). No automatic way of doing that as this is not an automatically generated file. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4053 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/include/surf/surfxml_parse.h b/include/surf/surfxml_parse.h index d2485c2765..8d19128c52 100644 --- a/include/surf/surfxml_parse.h +++ b/include/surf/surfxml_parse.h @@ -17,22 +17,22 @@ 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. */ -extern void_f_void_t *STag_surfxml_platform_description_fun; -extern void_f_void_t *ETag_surfxml_platform_description_fun; -extern void_f_void_t *STag_surfxml_cpu_fun; -extern void_f_void_t *ETag_surfxml_cpu_fun; -extern void_f_void_t *STag_surfxml_router_fun; -extern void_f_void_t *ETag_surfxml_router_fun; -extern void_f_void_t *STag_surfxml_network_link_fun; -extern void_f_void_t *ETag_surfxml_network_link_fun; -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; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_platform_description_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_platform_description_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_cpu_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_cpu_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_router_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_router_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_network_link_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_network_link_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_route_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_route_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_surfxml_route_element_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_route_element_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; -XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_argument_fun; +XBT_PUBLIC_DATA(void_f_void_t *) ETag_surfxml_process_fun; +XBT_PUBLIC_DATA(void_f_void_t *) STag_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);