From 94ef3baf555dc0c2d69a42faea4534851e70b041 Mon Sep 17 00:00:00 2001 From: Steven Dake Date: Sun, 11 Jul 2004 07:22:12 +0000 Subject: [PATCH] Changed references to C99 initializers after pedantic cleanup (Logical change 1.30) git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@93 fd59a12c-fef9-0310-b244-a6a79926bd2f --- README.devmap | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/README.devmap b/README.devmap index 766ceaea..9cf00897 100644 --- a/README.devmap +++ b/README.devmap @@ -451,10 +451,10 @@ The handle database is defined in a library as follows: static void clmHandleInstanceDestructor (void *); static struct saHandleDatabase clmHandleDatabase = { - handleCount: 0, - handles: 0, - mutex: PTHREAD_MUTEX_INITIALIZER, - handleInstanceDestructor: clmHandleInstanceDestructor + .handleCount = 0, + .handles = 0, + .mutex = PTHREAD_MUTEX_INITIALIZER, + .handleInstanceDestructor = clmHandleInstanceDestructor }; There are several APIs to access the handle database: @@ -663,7 +663,7 @@ executive. responses should be of: -struct res_clm_trakcstart +struct res_clm_trackstart ------------ some notes @@ -745,14 +745,14 @@ static int (*clm_aisexec_handler_fns[]) (void *) = { }; struct service_handler clm_service_handler = { - libais_handler_fns: clm_libais_handler_fns, - libais_handler_fns_count: sizeof (clm_libais_handler_fns) / sizeof (int (*)), - aisexec_handler_fns: clm_aisexec_handler_fns , - aisexec_handler_fns_count: sizeof (clm_aisexec_handler_fns) / sizeof (int (*)), - confchg_fn: clmConfChg, - libais_init_fn: message_handler_req_clm_init, - libais_exit_fn: clm_exit_fn, - aisexec_init_fn: clmExecutiveInitialize + .libais_handler_fns = clm_libais_handler_fns, + .libais_handler_fns_count = sizeof (clm_libais_handler_fns) / sizeof (int (*)), + .aisexec_handler_fns = clm_aisexec_handler_fns , + .aisexec_handler_fns_count = sizeof (clm_aisexec_handler_fns) / sizeof (int (*)), + .confchg_fn = clmConfChg, + .libais_init_fn = message_handler_req_clm_init, + .libais_exit_fn = clm_exit_fn, + .aisexec_init_fn = clmExecutiveInitialize }; if a library sends a message with id 0, message_handler_req_lib_activatepoll