X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1aeee3ce2981cd8db039d6be8f5b86e88eabb704..700126b7e7290121b5b716b4bf926a7a5cbb6746:/src/simdag/simdag_private.h diff --git a/src/simdag/simdag_private.h b/src/simdag/simdag_private.h index 4a1bdff10b..2c3355eb51 100644 --- a/src/simdag/simdag_private.h +++ b/src/simdag/simdag_private.h @@ -8,7 +8,6 @@ #define SIMDAG_PRIVATE_H #include "xbt/base.h" -#include "xbt/dict.h" #include "xbt/dynar.h" #include "simgrid/simdag.h" #include "surf/surf.h" @@ -88,14 +87,5 @@ XBT_PRIVATE void* SD_task_new_f(void); XBT_PRIVATE void SD_task_recycle_f(void *t); XBT_PRIVATE void SD_task_free_f(void *t); -/* Functions to test if the task is in a given state. */ - -/* Returns whether the given task is scheduled or runnable. */ -static XBT_INLINE int __SD_task_is_scheduled_or_runnable(SD_task_t task) -{ - return task->state == SD_SCHEDULED || task->state == SD_RUNNABLE; -} - SG_END_DECL() - #endif