From 15b64b5edc827167522ab08cf9efd17cf1b69830 Mon Sep 17 00:00:00 2001 From: Martin Quinson Date: Fri, 4 Nov 2011 13:57:56 +0100 Subject: [PATCH] kill a bunch of warnings that prevented me from compiling --- src/include/surf/surfxml_parse_values.h | 6 +++++- src/surf/surf_routing.c | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/include/surf/surfxml_parse_values.h b/src/include/surf/surfxml_parse_values.h index a374e02da6..673c8109b3 100644 --- a/src/include/surf/surfxml_parse_values.h +++ b/src/include/surf/surfxml_parse_values.h @@ -66,7 +66,7 @@ typedef struct s_hostSG { tmgr_trace_t V_host_power_trace; //availability file e_surf_resource_state_t V_host_state_initial; //state tmgr_trace_t V_host_state_trace; //state file - char* V_host_coord; + const char* V_host_coord; } s_hostSG_t; extern hostSG_t struct_host; @@ -75,4 +75,8 @@ extern cluster_t struct_cluster; extern peer_t struct_peer; extern link_t struct_lnk; +void STag_surfxml_host_cluster(void); +void STag_surfxml_link_cluster(void); + + #endif /* SURFXML_PARSE_VALUES_H_ */ diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index f6a55decbc..471de49609 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -1520,7 +1520,6 @@ void routing_parse_Scluster(void) xbt_dict_set(patterns,"suffix",struct_cluster->V_cluster_suffix,NULL); } - char *route_src_dst; unsigned int iter; int start, end, i; xbt_dynar_t radical_elements; -- 2.20.1