X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=sched.c;h=873fb8e3adca7b1df2d73acd37dbf0764b74e451;hp=a7660f5972c9f678b6f3a19b7b4398a1e43ae24b;hb=53a27fb91166a7734f0768721b2cef91f0f6172e;hpb=2c679eeb8bbc93220f85403eca6e9380dc624a6a diff --git a/sched.c b/sched.c index a7660f59..873fb8e3 100644 --- a/sched.c +++ b/sched.c @@ -1,5 +1,5 @@ /* - * Copyright (C) 2006-2007 Andre Noll + * Copyright (C) 2006-2008 Andre Noll * * Licensed under the GPL v2. For licencing details see COPYING. */ @@ -68,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; @@ -95,7 +95,7 @@ again: */ static void init_sched(void) { - PARA_INFO_LOG("%s", "initializing scheduler\n"); + PARA_INFO_LOG("initializing scheduler\n"); INIT_LIST_HEAD(&pre_select_list); INIT_LIST_HEAD(&post_select_list); initialized = 1; @@ -148,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)