X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;ds=sidebyside;f=mood.c;h=d76cbaf362cccbc305c9f26543440bfb8ffbe590;hb=442a3320ff155d09b990c0ee2abace399cbcd6dd;hp=a63d4d2af5d10d7b64c319d915e00b9b7ea62e89;hpb=c0e4799bafc72ffdb7e8912317b8f74acbbc2736;p=paraslash.git diff --git a/mood.c b/mood.c index a63d4d2a..d76cbaf3 100644 --- a/mood.c +++ b/mood.c @@ -263,9 +263,9 @@ static struct mood *alloc_new_mood(const char *name) struct mood *m = para_calloc(sizeof(struct mood)); if (name) m->name = para_strdup(name); - INIT_LIST_HEAD(&m->accept_list); - INIT_LIST_HEAD(&m->deny_list); - INIT_LIST_HEAD(&m->score_list); + init_list_head(&m->accept_list); + init_list_head(&m->deny_list); + init_list_head(&m->score_list); return m; }