Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] fix trace_platform tesh
[simgrid.git] / examples / msg / tracing / categories.c
index 1938a07..3dd29f1 100644 (file)
@@ -13,6 +13,8 @@
 #include "xbt/asserts.h"
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
                              "Messages specific for this msg example");
+int master(int argc, char *argv[]);
+int slave(int argc, char *argv[]);
 
 /** Emitter function  */
 int master(int argc, char *argv[])
@@ -70,8 +72,6 @@ int slave(int argc, char *argv[])
 /** Main function */
 int main(int argc, char *argv[])
 {
-  MSG_error_t res = MSG_OK;
-
   MSG_global_init(&argc, argv);
   if (argc < 3) {
     printf("Usage: %s platform_file deployment_file\n", argv[0]);