]> AND Public Git Repository - simgrid.git/blobdiff - src/surf/surfxml_parse.c
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
cosmetics in the VM/energy code
[simgrid.git] / src / surf / surfxml_parse.c
index 306050c5d4e0530a4b8925417068a1c913eaba30..7904fcb05f671a4501f7ef844f7c1e7e80a1e55c 100644 (file)
@@ -14,7 +14,7 @@
 #include "xbt/file.h"
 #include "xbt/dict.h"
 #include "surf/surfxml_parse.h"
-#include "surf/surf_private.h"
+#include "src/surf/surf_private.h"
 #include "surf/random_mgr.h"
 #include "simgrid/sg_config.h"
 
@@ -374,7 +374,7 @@ void surf_parse_free_callbacks(void)
 /* Stag and Etag parse functions */
 
 void STag_surfxml_platform(void) {
-  _XBT_GNUC_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
+  XBT_ATTRIB_UNUSED double version = surf_parse_get_double(A_surfxml_platform_version);
 
   xbt_assert((version >= 1.0), "******* BIG FAT WARNING *********\n "
       "You're using an ancient XML file.\n"