good for merge

On Fri, 2009-04-03 at 21:28 +0200, Jim Meyering wrote:
> From: Jim Meyering <[email protected]>
> 
> * lib/cfg.c (corosync_cfg_service_load): Make service_name "const".
> (corosync_cfg_service_unload): Likewise.
> * include/corosync/cfg.h: Update prototypes.
> ---
>  include/corosync/cfg.h |    4 ++--
>  lib/cfg.c              |    4 ++--
>  2 files changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/include/corosync/cfg.h b/include/corosync/cfg.h
> index bb739d7..7c201bb 100644
> --- a/include/corosync/cfg.h
> +++ b/include/corosync/cfg.h
> @@ -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
> diff --git a/lib/cfg.c b/lib/cfg.c
> index e90832f..8ff2368 100644
> --- a/lib/cfg.c
> +++ b/lib/cfg.c
> @@ -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;

_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to