From: Martin Quinson Date: Fri, 4 Nov 2011 12:57:56 +0000 (+0100) Subject: kill a bunch of warnings that prevented me from compiling X-Git-Tag: exp_20120216~492 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/15b64b5edc827167522ab08cf9efd17cf1b69830?hp=1febc7263364fccc1cfaab87a7b6008d88c68008 kill a bunch of warnings that prevented me from compiling --- 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;