From ea633221fff7c6306ba493f3bd7f6418789c95fd Mon Sep 17 00:00:00 2001 From: navarro Date: Mon, 17 Sep 2012 10:56:28 +0200 Subject: [PATCH] Oups use the right value --- include/simgrid/platf.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/include/simgrid/platf.h b/include/simgrid/platf.h index 15c4187f83..9734e704e5 100644 --- a/include/simgrid/platf.h +++ b/include/simgrid/platf.h @@ -93,16 +93,16 @@ typedef struct { xbt_dict_t properties; } s_sg_platf_host_cbarg_t, *sg_platf_host_cbarg_t; -#define SG_PLATF_HOST_INITIALIZER {\ - .id = NULL, \ - .power_peak = 0, \ - .core_amount = 1., \ - .power_scale = 1, \ - .initial_state = A_surfxml_host_state_ON, \ - .power_trace = NULL, \ - .state_trace = NULL, \ - .coord = NULL, \ - .properties = NULL \ +#define SG_PLATF_HOST_INITIALIZER { \ + .id = NULL,\ + .power_peak = 0,\ + .core_amount = 1.,\ + .power_scale = 1,\ + .initial_state = SURF_RESOURCE_ON,\ + .power_trace = NULL,\ + .state_trace = NULL,\ + .coord = NULL,\ + .properties = NULL\ } typedef struct { @@ -138,9 +138,9 @@ typedef struct { .bandwidth_trace = NULL,\ .latency = 0.,\ .latency_trace = NULL,\ - .state = A_surfxml_link_state_ON,\ + .state = SURF_RESOURCE_ON,\ .state_trace = NULL,\ - .policy = A_surfxml_link_sharing_policy_SHARED,\ + .policy = SURF_LINK_SHARED,\ .properties = NULL\ } -- 2.20.1