This patch uses new DECLARE_HDB_DATABASE macro create
timer_hdb. Replaces old method of declaring and initializing the
handle database.
Index: services/tmr.c
===================================================================
--- services/tmr.c (revision 1789)
+++ services/tmr.c (working copy)
@@ -76,12 +76,7 @@
struct list_head cleanup_list;
};
-static struct hdb_handle_database timer_hdb = {
- .handle_count = 0,
- .handles = 0,
- .iterator = 0,
- .mutex = PTHREAD_MUTEX_INITIALIZER
-};
+DECLARE_HDB_DATABASE (timer_hdb);
static struct corosync_api_v1 *api;
_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais