Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill a bunch of warnings that prevented me from compiling
authorMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 12:57:56 +0000 (13:57 +0100)
committerMartin Quinson <martin.quinson@loria.fr>
Fri, 4 Nov 2011 12:57:56 +0000 (13:57 +0100)
src/include/surf/surfxml_parse_values.h
src/surf/surf_routing.c

index a374e02..673c810 100644 (file)
@@ -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_ */
index f6a55de..471de49 100644 (file)
@@ -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;