diff options
author | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-01-09 16:42:25 +0100 |
---|---|---|
committer | Sander Vrijders <sander.vrijders@intec.ugent.be> | 2017-01-09 16:42:25 +0100 |
commit | 77c32c24b781eafd518e2cbe9de46b348a26a201 (patch) | |
tree | 817ead055668848866738e037ac3cb4c2a269bfd /src/ipcpd/ipcp-data.c | |
parent | f0167930862e57a2aa22520cd574f0368cb1032c (diff) | |
parent | 6c1cfb990f56b2fa87500732cb4f0966616907c7 (diff) | |
download | ouroboros-77c32c24b781eafd518e2cbe9de46b348a26a201.tar.gz ouroboros-77c32c24b781eafd518e2cbe9de46b348a26a201.zip |
Merge remote-tracking branch 'upstream/be' into be-gam
Diffstat (limited to 'src/ipcpd/ipcp-data.c')
-rw-r--r-- | src/ipcpd/ipcp-data.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ipcpd/ipcp-data.c b/src/ipcpd/ipcp-data.c index 132684c2..47c4c472 100644 --- a/src/ipcpd/ipcp-data.c +++ b/src/ipcpd/ipcp-data.c @@ -1,5 +1,5 @@ /* - * Ouroboros - Copyright (C) 2016 + * Ouroboros - Copyright (C) 2016 - 2017 * * IPC process utilities * @@ -119,9 +119,9 @@ struct ipcp_data * ipcp_data_init(struct ipcp_data * dst, dst->dif_name = NULL; /* init the lists */ - INIT_LIST_HEAD(&dst->registry); - INIT_LIST_HEAD(&dst->directory); - INIT_LIST_HEAD(&dst->dir_queries); + list_head_init(&dst->registry); + list_head_init(&dst->directory); + list_head_init(&dst->dir_queries); /* init the locks */ pthread_rwlock_init(&dst->reg_lock, NULL); @@ -437,7 +437,7 @@ struct dir_query * ipcp_data_dir_query_create(char * name) pthread_cond_init(&query->cond, &cattr); pthread_mutex_init(&query->lock, NULL); - INIT_LIST_HEAD(&query->next); + list_head_init(&query->next); return query; } |