about summary refs log tree commit homepage
path: root/cmogstored.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmogstored.h')
-rw-r--r--cmogstored.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/cmogstored.h b/cmogstored.h
index 1006fc3..1381f4f 100644
--- a/cmogstored.h
+++ b/cmogstored.h
@@ -47,8 +47,8 @@
 #include <sched.h>
 #include <error.h> /* GNU */
 #include <poll.h>
-#include "bsd/queue_safe.h"
 #include "bsd/simpleq.h"
+#include "ccan/list/list.h"
 
 /* gnulib headers */
 #include "progname.h"
@@ -147,7 +147,7 @@ struct mog_mgmt {
         struct mog_svc *svc;
         enum Gc_hash alg;
         enum mog_mgmt_method mgmt_method;
-        LIST_ENTRY(mog_mgmt) subscribed;
+        struct list_node subscribed;
 };
 
 struct mog_queue;
@@ -168,7 +168,7 @@ struct mog_svc {
         Hash_table *by_st_dev;
         pthread_mutex_t devstats_lock;
         struct mog_queue *queue;
-        LIST_HEAD(mgmt_head, mog_mgmt) devstats_subscribers;
+        struct list_head devstats_subscribers;
         SIMPLEQ_ENTRY(mog_svc) qentry;
         mode_t put_perms;
         mode_t mkcol_perms;
@@ -248,7 +248,7 @@ struct mog_fd;
 struct mog_queue {
         int queue_fd; /* epoll or kqueue */
         struct mog_thrpool thrpool;
-        LIST_ENTRY(mog_queue) qbuddies;
+        struct list_node qbuddies;
 };
 
 /* accept.c */