From 9cb5e3d70f7208a4903b08fe41bee83df55ec2d2 Mon Sep 17 00:00:00 2001 From: alegrand Date: Wed, 8 Aug 2007 10:33:42 +0000 Subject: [PATCH] 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 --- include/surf/surfxml_parse.h | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) 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); -- 2.20.1