Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove the useless prototype of sg_instr_new_host
authorTakishipp <toufik.boubehziz@gmail.com>
Fri, 2 Jun 2017 12:32:04 +0000 (14:32 +0200)
committerTakishipp <toufik.boubehziz@gmail.com>
Fri, 2 Jun 2017 12:32:04 +0000 (14:32 +0200)
src/surf/instr_routing.cpp
src/surf/xml/platf_private.hpp

index b424b7a..2baf7b9 100644 (file)
@@ -233,7 +233,7 @@ static void instr_routing_parse_start_link(simgrid::s4u::Link& link)
   }
 }
 
-void sg_instr_new_host(simgrid::s4u::Host& host)
+static void sg_instr_new_host(simgrid::s4u::Host& host)
 {
   container_t father = currentContainer.back();
   container_t container = PJ_container_new(host.cname(), INSTR_HOST, father);
index 5c4858d..2bc61f3 100644 (file)
@@ -247,7 +247,6 @@ XBT_PUBLIC(void) routing_route_free(sg_platf_route_cbarg_t route);
 /********** Instr. **********/
 XBT_PRIVATE void sg_instr_AS_begin(sg_platf_AS_cbarg_t AS);
 XBT_PRIVATE void sg_instr_new_router(const char* name);
-void sg_instr_new_host(simgrid::s4u::Host& host);
 XBT_PRIVATE void sg_instr_AS_end();
 
 SG_END_DECL()