From e6a0980facd9ad8dbb66e0c7ab2bdf61d2d18825 Mon Sep 17 00:00:00 2001 From: cherierm Date: Wed, 11 Apr 2007 18:57:22 +0000 Subject: [PATCH] export some variables git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3393 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/surf/surfxml.h | 6 +++--- include/surf/surfxml_parse.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/surf/surfxml.h b/include/surf/surfxml.h index e5916cbbe0..0d0cb458a3 100644 --- a/include/surf/surfxml.h +++ b/include/surf/surfxml.h @@ -134,7 +134,7 @@ typedef const char* AT_surfxml_network_link_state_file; /* FleXML-provided data. */ extern const char* surfxml_pcdata; extern AT_surfxml_network_link_bandwidth A_surfxml_network_link_bandwidth; -extern AT_surfxml_process_host A_surfxml_process_host; +extern AT_surfxml_process_host XBT_PUBLIC_DATA A_surfxml_process_host; extern AT_surfxml_network_link_latency_file A_surfxml_network_link_latency_file; extern AT_surfxml_route_impact_on_dst_with_other_send A_surfxml_route_impact_on_dst_with_other_send; extern AT_surfxml_cpu_interference_send_recv A_surfxml_cpu_interference_send_recv; @@ -143,7 +143,7 @@ extern AT_surfxml_platform_description_version A_surfxml_platform_description_ve extern AT_surfxml_route_impact_on_src_with_other_recv A_surfxml_route_impact_on_src_with_other_recv; extern AT_surfxml_route_element_name A_surfxml_route_element_name; extern AT_surfxml_process_start_time A_surfxml_process_start_time; -extern AT_surfxml_process_function A_surfxml_process_function; +extern AT_surfxml_process_function XBT_PUBLIC_DATA A_surfxml_process_function; extern AT_surfxml_cpu_state A_surfxml_cpu_state; extern AT_surfxml_cpu_interference_send A_surfxml_cpu_interference_send; extern AT_surfxml_network_link_bandwidth_file A_surfxml_network_link_bandwidth_file; @@ -151,7 +151,7 @@ extern AT_surfxml_cpu_name A_surfxml_cpu_name; extern AT_surfxml_process_kill_time A_surfxml_process_kill_time; extern AT_surfxml_network_link_state A_surfxml_network_link_state; extern AT_surfxml_cpu_availability_file A_surfxml_cpu_availability_file; -extern AT_surfxml_argument_value A_surfxml_argument_value; +extern AT_surfxml_argument_value XBT_PUBLIC_DATA A_surfxml_argument_value; extern AT_surfxml_route_src A_surfxml_route_src; extern AT_surfxml_route_impact_on_src A_surfxml_route_impact_on_src; extern AT_surfxml_cpu_max_outgoing_rate A_surfxml_cpu_max_outgoing_rate; diff --git a/include/surf/surfxml_parse.h b/include/surf/surfxml_parse.h index 854edaeae9..830b14cee7 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 *surf_parse; +extern int_f_void_t * XBT_PUBLIC_DATA surf_parse; /* Hook for the different tags. They can be redefined at will whereas the versions without the _fun can't. */ @@ -27,10 +27,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 *STag_surfxml_process_fun; -extern void_f_void_t *ETag_surfxml_process_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; extern void_f_void_t *STag_surfxml_argument_fun; -extern void_f_void_t *ETag_surfxml_argument_fun; +extern void_f_void_t * XBT_PUBLIC_DATA ETag_surfxml_argument_fun; XBT_PUBLIC(void) surf_parse_open(const char *file); XBT_PUBLIC(void) surf_parse_close(void); -- 2.20.1