projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
list.h: Convert INIT_LIST_HEAD macro to inline function.
[paraslash.git]
/
sched.c
diff --git
a/sched.c
b/sched.c
index a2903940fdaea1b24d6a49cfc2f54766c136070f..aac8efed1bcf8d897e6aef4d07973f2babc8d4f4 100644
(file)
--- a/
sched.c
+++ b/
sched.c
@@
-244,7
+244,7
@@
struct task *task_register(struct task_info *info, struct sched *s)
assert(info->post_select);
if (!s->task_list.next)
-
INIT_LIST_HEAD
(&s->task_list);
+
init_list_head
(&s->task_list);
t->info = *info;
t->name = para_strdup(info->name);