X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/14dbe48f4f9623cf72fc207b7c2041b9f611972a..2b5a32d440ace6920ebbe5b5425aedd515d11708:/src/surf/surfxml_parse.cpp diff --git a/src/surf/surfxml_parse.cpp b/src/surf/surfxml_parse.cpp index ddbb223db6..02b205bf75 100644 --- a/src/surf/surfxml_parse.cpp +++ b/src/surf/surfxml_parse.cpp @@ -15,7 +15,6 @@ #include "xbt/dict.h" #include "src/surf/surf_private.h" #include "simgrid/sg_config.h" -#include "surfxml_private.h" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_parse, surf, "Logging specific to the SURF parsing module"); @@ -508,7 +507,7 @@ void STag_surfxml_host___link(void){ host_link.id = A_surfxml_host___link_id; host_link.link_up = A_surfxml_host___link_up; host_link.link_down = A_surfxml_host___link_down; - sg_platf_new_netcard(&host_link); + sg_platf_new_hostlink(&host_link); } void STag_surfxml_router(void){ @@ -1051,7 +1050,7 @@ void surf_parse_close(void) xbt_dynar_free(&surf_parsed_filename_stack); if (surf_parsed_filename) { char *dir = NULL; - xbt_dynar_pop(surf_path, dir); + xbt_dynar_pop(surf_path, &dir); free(dir); }