Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Deprecate functions MSG_global_init() / MSG_global_init_args() in flavor of MSG_init()
[simgrid.git] / src / surf / sg_platf.c
index 65cc84c..077615c 100644 (file)
@@ -143,7 +143,7 @@ void sg_platf_end() {
 
 static int surf_parse_models_setup_already_called = 0;
 
-void sg_platf_new_AS_begin(const char *id, const char *routing) {
+void sg_platf_new_AS_begin(const char *id, int routing) {
   unsigned int iterator;
   sg_platf_AS_begin_cb_t fun;
 
@@ -224,10 +224,10 @@ void sg_platf_rng_stream_init(unsigned long seed[6]) {
 RngStream sg_platf_rng_stream_get(const char* id) {
   RngStream stream = NULL;
   unsigned int id_hash;
-  
+
   stream = RngStream_CopyStream(sg_platf_rng_stream);
   id_hash = xbt_str_hash(id);
   RngStream_AdvanceState(stream, 0, (long)id_hash);
-  
+
   return stream;
 }