Signed-off-by: Angus Salkeld <asalkeld(a)redhat.com>
---
include/qb/qblist.h | 4 ++--
lib/ipcs.c | 4 ++--
lib/logsys.c | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/include/qb/qblist.h b/include/qb/qblist.h
index bf3373a..d28880c 100644
--- a/include/qb/qblist.h
+++ b/include/qb/qblist.h
@@ -40,10 +40,10 @@ struct qb_list_head {
};
/**
- * @def QB_DECLARE_LIST_INIT()
+ * @def QB_LIST_DECLARE()
* Declare and initialize a list head.
*/
-#define QB_DECLARE_LIST_INIT(name) \
+#define QB_LIST_DECLARE(name) \
struct qb_list_head name = { &(name), &(name) }
/**
diff --git a/lib/ipcs.c b/lib/ipcs.c
index 20c1d7f..b99268b 100644
--- a/lib/ipcs.c
+++ b/lib/ipcs.c
@@ -58,9 +58,9 @@
static struct qb_ipcs_init_state *api = NULL;
-QB_DECLARE_LIST_INIT(conn_info_qb_list_head);
+QB_LIST_DECLARE(conn_info_qb_list_head);
-QB_DECLARE_LIST_INIT(conn_info_exit_qb_list_head);
+QB_LIST_DECLARE(conn_info_exit_qb_list_head);
struct outq_item {
void *msg;
diff --git a/lib/logsys.c b/lib/logsys.c
index cb6e51b..5449f75 100644
--- a/lib/logsys.c
+++ b/lib/logsys.c
@@ -149,7 +149,7 @@ static int32_t logsys_dropped_messages = 0;
void *qb_logsys_rec_end;
-static QB_DECLARE_LIST_INIT(logsys_print_finished_records);
+static QB_LIST_DECLARE(logsys_print_finished_records);
#define FDMAX_ARGS 64
--
1.6.6.1