From ba46a8b5c5717cdff25b39a2cd03a461998921c5 Mon Sep 17 00:00:00 2001 From: dimitri staessens Date: Mon, 9 Jan 2017 15:37:49 +0100 Subject: lib: Revise implementation of list Adds LGPL license to the ouroboros lists. --- src/irmd/api_table.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/irmd/api_table.c') diff --git a/src/irmd/api_table.c b/src/irmd/api_table.c index 97b8eb0f..4b9d9ecb 100644 --- a/src/irmd/api_table.c +++ b/src/irmd/api_table.c @@ -42,8 +42,8 @@ struct api_entry * api_entry_create(pid_t api, char * apn) if (e == NULL) return NULL; - INIT_LIST_HEAD(&e->next); - INIT_LIST_HEAD(&e->names); + list_head_init(&e->next); + list_head_init(&e->names); e->api = api; e->apn = apn; -- cgit v1.2.3