mirror of
https://git.proxmox.com/git/mirror_corosync
synced 2025-07-23 06:36:15 +00:00
cfg.h: add const
* lib/cfg.c (corosync_cfg_service_load): Make service_name "const". (corosync_cfg_service_unload): Likewise. * include/corosync/cfg.h: Update prototypes. git-svn-id: http://svn.fedorahosted.org/svn/corosync/trunk@1996 fd59a12c-fef9-0310-b244-a6a79926bd2f
This commit is contained in:
parent
514159407f
commit
cd6105face
@ -178,13 +178,13 @@ corosync_cfg_ring_reenable (
|
||||
cs_error_t
|
||||
corosync_cfg_service_load (
|
||||
corosync_cfg_handle_t cfg_handle,
|
||||
char *service_name,
|
||||
const char *service_name,
|
||||
unsigned int service_ver);
|
||||
|
||||
cs_error_t
|
||||
corosync_cfg_service_unload (
|
||||
corosync_cfg_handle_t cfg_handle,
|
||||
char *service_name,
|
||||
const char *service_name,
|
||||
unsigned int service_ver);
|
||||
|
||||
cs_error_t
|
||||
|
@ -428,7 +428,7 @@ corosync_cfg_ring_reenable (
|
||||
cs_error_t
|
||||
corosync_cfg_service_load (
|
||||
corosync_cfg_handle_t cfg_handle,
|
||||
char *service_name,
|
||||
const char *service_name,
|
||||
unsigned int service_ver)
|
||||
{
|
||||
struct cfg_instance *cfg_instance;
|
||||
@ -470,7 +470,7 @@ corosync_cfg_service_load (
|
||||
cs_error_t
|
||||
corosync_cfg_service_unload (
|
||||
corosync_cfg_handle_t cfg_handle,
|
||||
char *service_name,
|
||||
const char *service_name,
|
||||
unsigned int service_ver)
|
||||
{
|
||||
struct cfg_instance *cfg_instance;
|
||||
|
Loading…
Reference in New Issue
Block a user