X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=ba43b10cff143960d3741fb6c0f7238b351de865;hp=144eaf6e21a670d1243a07d00689cf6a3fbd1900;hb=51dde9efab2d662cf5813d26d5c9aebce6e197e7;hpb=471684761a2039bbc89aa1e3c33c62de6bef86cf diff --git a/sched.c b/sched.c index 144eaf6e..ba43b10c 100644 --- a/sched.c +++ b/sched.c @@ -6,7 +6,10 @@ /** \file sched.c paraslash's scheduling functions */ +#include /* readdir() */ +#include #include + #include "para.h" #include "ipc.h" #include "fd.h" @@ -65,7 +68,7 @@ static void sched_post_select(struct sched *s) * * \sa task, now. */ -int sched(struct sched *s) +int schedule(struct sched *s) { if (!initialized) return -E_NOT_INITIALIZED; @@ -145,7 +148,7 @@ void unregister_task(struct task *t) /** * unregister all tasks * - * This will cause \a sched() to return immediately because both the + * This will cause \a schedule() to return immediately because both the * \a pre_select_list and the \a post_select_list are empty. */ void sched_shutdown(void)