Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
getting rid of MSG_getClock
[simgrid.git] / src / msg / deployment.c
index 520b2b8..d9f32ee 100644 (file)
@@ -5,9 +5,9 @@
 /* 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"private.h"
-#include"xbt/sysdep.h"
-#include "xbt/error.h"
+#include "private.h"
+#include "xbt/sysdep.h"
+#include "xbt/log.h"
 #include "surf/surf_parse.h"
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(deployment, msg,
                                "Logging specific to MSG (environment)");
@@ -62,7 +62,7 @@ static void parse_process_finalize(void)
     process = MSG_process_create_with_arguments(parse_argv[0], parse_code, 
                                                NULL, parse_host,
                                                parse_argc,parse_argv);
-    if(kill_time > MSG_getClock()) {
+    if(kill_time > MSG_get_clock()) {
       surf_timer_resource->extension_public->set(kill_time, 
                                                 (void*) &MSG_process_kill,
                                                 (void*) process);