From aa97cac500bbcb0f84485fdd7b9413c985dc92b0 Mon Sep 17 00:00:00 2001 From: schnorr Date: Mon, 4 Oct 2010 08:31:59 +0000 Subject: [PATCH] fix: small changes to make surf_routing.c compile git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@8337 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/include/surf/surf.h | 2 +- src/surf/surf_routing.c | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 40f1bf65bf..58fe9f5d8b 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -760,7 +760,7 @@ XBT_PUBLIC(void) routing_add_link(const char *link_id); //Set the endpoints for a route XBT_PUBLIC(void) routing_set_route(const char* src_id,const char* dst_id); //Store the route -XBT_PUBLIC(void) routing_store_route(); +XBT_PUBLIC(void) routing_store_route(void); /* * interface between surf and lua bindings diff --git a/src/surf/surf_routing.c b/src/surf/surf_routing.c index e8971a27b3..e8cba3fd30 100644 --- a/src/surf/surf_routing.c +++ b/src/surf/surf_routing.c @@ -228,9 +228,9 @@ static void parse_E_link_ctn_new_elem(char *link_id) { * \brief Set a new link on the actual list of link for a route or ASroute from XML */ -static void parse_E_link_c_ctn_new_elem_XML(void) +static void parse_E_link_ctn_new_elem_XML(void) { - parse_E_link_c_ctn_new_elem(A_surfxml_link_c_ctn_id); + parse_E_link_ctn_new_elem(A_surfxml_link_ctn_id); } /** @@ -238,7 +238,7 @@ static void parse_E_link_c_ctn_new_elem_XML(void) */ static void parse_E_link_c_ctn_new_elem_lua(char *link_id) { - parse_E_link_c_ctn_new_elem(link_id); + parse_E_link_ctn_new_elem(link_id); } /** -- 2.20.1