Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[trace] add missing tesh to test user variables tracing
[simgrid.git] / examples / msg / tracing / simple.c
index 3113c4f..c7619bb 100644 (file)
@@ -14,6 +14,8 @@
 XBT_LOG_NEW_DEFAULT_CATEGORY(msg_test,
                              "Messages specific for this msg example");
 
+int simple_func(int argc, char *argv[]);
+
 /** Emitter function  */
 int simple_func(int argc, char *argv[])
 {
@@ -26,8 +28,6 @@ int simple_func(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]);