mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2026-01-24 04:12:43 +00:00
Make a tiny type change and watch it propagate. * include/corosync/engine/coroapi.h (struct corosync_lib_handler) [lib_handler_fn]: Change type of 2nd parameter: s/void *msg/const void *msg/. Propagate the above into cfg.c and votequorum.c: * services/cfg.c (message_handler_req_lib_cfg_get_node_addrs): Constification exposed a bug in this function whereby it mistakenly modified storage through its now-const *msg parameter. Since it did that solely to store a temporary result, we've changed it to use a local variable instead. * services/votequorum.c (message_handler_req_lib_votequorum_setvotes): Likewise. * exec/vsf_quorum.c: add const to msg param. * services/evs.c: Likewise. * services/pload.c: Likewise. * services/cpg.c: Likewise. * services/confdb.c: Likewise. * exec/coroipcs.h: signature of coroipcs_handler_fn_lvalue must match that of lib_handler_fn; noted via main.c. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@2047 fd59a12c-fef9-0310-b244-a6a79926bd2f |
||
|---|---|---|
| .. | ||
| engine | ||
| lcr | ||
| totem | ||
| cfg.h | ||
| confdb.h | ||
| coroipcc.h | ||
| corotypes.h | ||
| cpg.h | ||
| cs_config.h.in | ||
| evs.h | ||
| hdb.h | ||
| ipc_cfg.h | ||
| ipc_confdb.h | ||
| ipc_cpg.h | ||
| ipc_evs.h | ||
| ipc_gen.h | ||
| ipc_pload.h | ||
| ipc_quorum.h | ||
| ipc_votequorum.h | ||
| jhash.h | ||
| list.h | ||
| mar_cpg.h | ||
| mar_gen.h | ||
| pload.h | ||
| queue.h | ||
| quorum.h | ||
| rmd.h | ||
| sq.h | ||
| swab.h | ||
| votequorum.h | ||