summaryrefslogtreecommitdiff
path: root/src/irmd/api_table.c
diff options
context:
space:
mode:
authorSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-09 16:40:40 +0100
committerSander Vrijders <sander.vrijders@intec.ugent.be>2017-01-09 16:40:40 +0100
commit6c1cfb990f56b2fa87500732cb4f0966616907c7 (patch)
tree4af3a0e2ce9fc12d7dc759803da70b7f570d6f8a /src/irmd/api_table.c
parente56d24010287127fc6b9c9da8d1f7cf160c50253 (diff)
parent5273b0f5915956e49bcad4167cca2c1349e8816d (diff)
downloadouroboros-6c1cfb990f56b2fa87500732cb4f0966616907c7.tar.gz
ouroboros-6c1cfb990f56b2fa87500732cb4f0966616907c7.zip
Merged in dstaesse/ouroboros/be-list (pull request #340)
Updates to list and fixes LGPL license for library
Diffstat (limited to 'src/irmd/api_table.c')
-rw-r--r--src/irmd/api_table.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/irmd/api_table.c b/src/irmd/api_table.c
index 97b8eb0f..7619fcf6 100644
--- a/src/irmd/api_table.c
+++ b/src/irmd/api_table.c
@@ -1,5 +1,5 @@
/*
- * Ouroboros - Copyright (C) 2016
+ * Ouroboros - Copyright (C) 2016 - 2017
*
* The IPC Resource Manager - Application Instance Table
*
@@ -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;