Re: [PATCH 3/5] Move hdb_error_to_cs to corotypes.h

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Reviewed-by: Steven Dake <sdake@xxxxxxxxxx>

On 02/13/2012 04:23 AM, Angus Salkeld wrote:
> Signed-off-by: Angus Salkeld <asalkeld@xxxxxxxxxx>
> ---
>  exec/cmap.c                  |    2 --
>  exec/util.h                  |    1 -
>  include/corosync/corotypes.h |    1 +
>  3 files changed, 1 insertions(+), 3 deletions(-)
> 
> diff --git a/exec/cmap.c b/exec/cmap.c
> index 284e895..662e334 100644
> --- a/exec/cmap.c
> +++ b/exec/cmap.c
> @@ -57,8 +57,6 @@
>  
>  #include "service.h"
>  
> -#define hdb_error_to_cs(_result_) qb_to_cs_error(_result_)
> -
>  LOGSYS_DECLARE_SUBSYS ("CMAP");
>  
>  struct cmap_conn_info {
> diff --git a/exec/util.h b/exec/util.h
> index 9f418bb..e8da3aa 100644
> --- a/exec/util.h
> +++ b/exec/util.h
> @@ -67,7 +67,6 @@ enum e_corosync_done {
>  	COROSYNC_DONE_SERVICE_ENGINE_INIT = 20
>  };
>  
> -cs_error_t hdb_error_to_cs (int res);
>  
>  /**
>   * Compare two names.  returns non-zero on match.
> diff --git a/include/corosync/corotypes.h b/include/corosync/corotypes.h
> index a3a3ecd..d96d41d 100644
> --- a/include/corosync/corotypes.h
> +++ b/include/corosync/corotypes.h
> @@ -137,6 +137,7 @@ static inline uint64_t cs_timestamp_get(void)
>  
>  cs_error_t qb_to_cs_error (int result);
>  const char * cs_strerror(cs_error_t err);
> +cs_error_t hdb_error_to_cs (int res);
>  
>  #endif /* COROTYPES_H_DEFINED */
>  

_______________________________________________
discuss mailing list
discuss@xxxxxxxxxxxx
http://lists.corosync.org/mailman/listinfo/discuss


[Index of Archives]     [Linux Clusters]     [Corosync Project]     [Linux USB Devel]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Linux Kernel]     [Linux SCSI]     [X.Org]

  Powered by Linux