Просмотр исходного кода

Move hdb_error_to_cs to corotypes.h

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Angus Salkeld 14 лет назад
Родитель
Сommit
023c4fa0cc
3 измененных файлов с 1 добавлено и 3 удалено
  1. 0 2
      exec/cmap.c
  2. 0 1
      exec/util.h
  3. 1 0
      include/corosync/corotypes.h

+ 0 - 2
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 {

+ 0 - 1
exec/util.h

@@ -68,7 +68,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.

+ 1 - 0
include/corosync/corotypes.h

@@ -138,6 +138,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 */