[Gluster-devel] [PATCH BUG:361] Correct enum declaration of gf_dump_procnum, fixing duplicate symbol error when linking on Mac OS X

Noah Williamsson noah.williamsson at gmail.com
Mon Sep 27 13:13:49 UTC 2010


Signed-off-by: Noah Williamsson <noah.williamsson at gmail.com>
---
 rpc/rpc-lib/src/xdr-common.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/rpc/rpc-lib/src/xdr-common.h b/rpc/rpc-lib/src/xdr-common.h
index 13ac41c..e49aa48 100644
--- a/rpc/rpc-lib/src/xdr-common.h
+++ b/rpc/rpc-lib/src/xdr-common.h
@@ -30,11 +30,11 @@
 #include <rpc/xdr.h>
 #include <sys/uio.h>
 
-enum {
+enum gf_dump_procnum {
         GF_DUMP_NULL,
         GF_DUMP_DUMP,
         GF_DUMP_MAXVALUE,
-} gf_dump_procnum_t;
+};
 
 #define GLUSTER_DUMP_PROGRAM 123451501 /* Completely random */
 #define GLUSTER_DUMP_VERSION 1
-- 
1.6.6.1





More information about the Gluster-devel mailing list