Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
these functions are already declarated in str.h
[simgrid.git] / examples / msg / msg_test_surfxml_bypassed.c
index 41a00e2..4882aa2 100644 (file)
@@ -5,6 +5,7 @@
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
+#include <stdio.h>
 #include "msg/msg.h"  /* Yeah! If you want to use msg, you need to include msg/msg.h */
 #include "surf/surfxml_parse.h" /* to override surf_parse */
 #include "surf/surfxml.h"       /* to hijack surf_parse_lex */
@@ -17,7 +18,7 @@ XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,"Messages specific for this msg example");
 static int surf_parse_bypass(void)
 {
 /* <platform_description> */
-  A_surfxml_platform_description_version = "1.1";
+  A_surfxml_platform_description_version = "1";
   STag_surfxml_platform_description();