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
This commit is contained in:
Steven Dake 2004-07-11 07:22:12 +00:00
parent 6ae7d96ecd
commit 94ef3baf55

View File

@ -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