Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use the same type name (network_link_GTNETS_t) as in the private header.
[simgrid.git] / src / surf / workstation.c
index 379cf32..56650d5 100644 (file)
@@ -10,7 +10,7 @@
 #include "portable.h"
 #include "workstation_private.h"
 #include "cpu_private.h"
-#include "network_private.h"
+#include "network_common.h"
 
 XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_workstation, surf,
                                "Logging specific to the SURF workstation module");
@@ -159,7 +159,7 @@ static void update_actions_state(double now, double delta)
 
 static void update_resource_state(void *id,
                                  tmgr_trace_event_t event_type,
-                                 double value)
+                                 double value, double date)
 {
   THROW_IMPOSSIBLE; /* This model does not implement parallel tasks */
 }