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

corotypes: drop deprecated QUORUM_ defines

neither corosync or any of the dependencies use it.

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
Reviewed-by: Steven Dake <sdake@redhat.com>
Fabio M. Di Nitto 14 лет назад
Родитель
Сommit
e9f9eb9c3d
3 измененных файлов с 2 добавлено и 19 удалено
  1. 0 17
      include/corosync/corotypes.h
  2. 1 1
      man/votequorum_context_get.3
  3. 1 1
      man/votequorum_context_set.3

+ 0 - 17
include/corosync/corotypes.h

@@ -233,23 +233,6 @@ static inline cs_error_t qb_to_cs_error (int result)
 #define CPG_ERR_TOO_MANY_GROUPS		CS_ERR_TOO_MANY_GROUPS
 #define cpg_error_t cs_error_t
 
-#define QUORUM_DISPATCH_ONE			CS_DISPATCH_ONE
-#define QUORUM_DISPATCH_ALL			CS_DISPATCH_ALL
-#define QUORUM_DISPATCH_BLOCKING	CS_DISPATCH_BLOCKING
-#define QUORUM_OK					CS_OK
-#define QUORUM_ERR_LIBRARY			CS_ERR_LIBRARY
-#define QUORUM_ERR_TIMEOUT			CS_ERR_TIMEOUT
-#define QUORUM_ERR_TRY_AGAIN		CS_ERR_TRY_AGAIN
-#define QUORUM_ERR_INVALID_PARAM	CS_ERR_INVALID_PARAM
-#define QUORUM_ERR_NO_MEMORY		CS_ERR_NO_MEMORY
-#define QUORUM_ERR_BAD_HANDLE		CS_ERR_BAD_HANDLE
-#define QUORUM_ERR_ACCESS			CS_ERR_ACCESS
-#define QUORUM_ERR_NOT_EXIST		CS_ERR_NOT_EXIST
-#define QUORUM_ERR_EXIST			CS_ERR_EXIST
-#define QUORUM_ERR_NOT_SUPPORTED	CS_ERR_NOT_SUPPORTED
-#define QUORUM_ERR_SECURITY			CS_ERR_SECURITY
-#define quorum_error_t cs_error_t
-
 /*
  * static inline so multiple libraries can link into same binary
  */

+ 1 - 1
man/votequorum_context_get.3

@@ -44,7 +44,7 @@ The
 function is used to retrieve the context variable previously stored using
 .B votequorum_context_set(3)
 .SH RETURN VALUE
-This call returns the VOTEQUORUM_OK value if successful, otherwise an error is returned.
+This call returns the CS_OK value if successful, otherwise an error is returned.
 .PP
 .SH ERRORS
 The errors are undocumented.

+ 1 - 1
man/votequorum_context_set.3

@@ -46,7 +46,7 @@ meaning insire libvotequorum itself and will not be touched by the library. It c
 be retrieved using
 .B votequorum_context_get(3)
 .SH RETURN VALUE
-This call returns the VOTEQUORUM_OK value if successful, otherwise an error is returned.
+This call returns the CS_OK value if successful, otherwise an error is returned.
 .PP
 .SH ERRORS
 The errors are undocumented.