From: Arnaud Legrand Date: Fri, 2 Mar 2012 16:28:57 +0000 (+0100) Subject: Move this enum to a public place for future usage by cpu_cas01 X-Git-Tag: v3_7~315^2~27^2~11 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/7bc243d6e8ffba1fe8414c61d27639192198c30f?ds=sidebyside Move this enum to a public place for future usage by cpu_cas01 --- diff --git a/src/include/surf/surf.h b/src/include/surf/surf.h index 8cfa80ad49..e3a6d1bebc 100644 --- a/src/include/surf/surf.h +++ b/src/include/surf/surf.h @@ -56,6 +56,13 @@ XBT_PUBLIC(int) find_model_description(s_surf_model_description_t * table, XBT_PUBLIC(void) model_help(const char *category, s_surf_model_description_t * table); +enum heap_action_type{ + LATENCY = 100, + MAX_DURATION, + NORMAL, + NOTSET +}; + /** \brief Action structure * \ingroup SURF_actions * diff --git a/src/surf/network_private.h b/src/surf/network_private.h index 0d1fc19fba..ced7281db7 100644 --- a/src/surf/network_private.h +++ b/src/surf/network_private.h @@ -20,13 +20,6 @@ typedef struct network_link_CM02 { tmgr_trace_event_t lat_event; } s_link_CM02_t, *link_CM02_t; -enum heap_action_type{ - LATENCY = 100, - MAX_DURATION, - NORMAL, - NOTSET -}; - typedef struct surf_action_network_CM02 { s_surf_action_lmm_t generic_lmm_action; s_xbt_swag_hookup_t action_list_hookup;