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

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

 



Signed-off-by: Noah Williamsson <noah.williamsson@xxxxxxxxx>
---
 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




[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux