// Peer-To-Peer CAN simulator 050406 by Dytto ESIAL //
//////////////////////////////////////////////////////
-
+#include <stdio.h>
#include "xbt/sysdep.h"
#include "gras.h"
* vim:ts=2:sw=2:expandtab
*/
+#include <stdio.h>
#include "xbt/sysdep.h"
#include "gras.h"
/* 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 "xbt/sysdep.h" /* calloc, printf */
/* 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 */
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
-#include "xbt/sysdep.h" /* calloc, printf */
+#include "xbt/sysdep.h" /* calloc */
/* Create a log channel to have nice outputs. */
#include "xbt/log.h"
MSG_global_init(&argc,argv);
if (argc < 3) {
- printf ("Usage: %s platform_file deployment_file\n",argv[0]);
- printf ("example: %s msg_platform.xml msg_deployment_suspend.xml\n",argv[0]);
+ CRITICAL1 ("Usage: %s platform_file deployment_file\n",argv[0]);
+ CRITICAL1 ("example: %s msg_platform.xml msg_deployment_suspend.xml\n",argv[0]);
exit(1);
}
test_all(argv[1],argv[2]);
* under the terms of the license (GNU LGPL) which comes with this package. */
#include "msg/msg.h" /* Yeah! If you want to use msg, you need to include msg/msg.h */
-#include "xbt/sysdep.h" /* calloc, printf */
+#include "xbt/sysdep.h" /* calloc */
/* Create a log channel to have nice outputs. */
MSG_global_init(&argc,argv);
if (argc < 3)
{
- printf ("Usage: %s platform_file deployment_file\n",argv[0]);
- printf ("example: %s msg_platform.xml msg_deployment.xml\n",argv[0]);
+ CRITICAL1 ("Usage: %s platform_file deployment_file\n",argv[0]);
+ CRITICAL1 ("example: %s msg_platform.xml msg_deployment.xml\n",argv[0]);
exit(1);
}
res = test_all(argv[1],argv[2]);