summaryrefslogtreecommitdiffstats
path: root/rpc/rpc-lib
diff options
context:
space:
mode:
authornoah williamsson <noah.williamsson@gmail.com>2010-09-27 07:43:49 +0000
committerAnand V. Avati <avati@dev.gluster.com>2010-10-26 22:55:55 -0700
commitd6a34a08d5a583c4f0f2264511286ed39a071e1b (patch)
tree90689d159f843e96039de2ab439f56d6d2291db3 /rpc/rpc-lib
parent9272cce5feb55c6526078f2d1440bb0d0591d651 (diff)
Correct enum declaration of gf_dump_procnum, fixing duplicate symbol error when linking on Mac OS X
Signed-off-by: Noah Williamsson <noah.williamsson@gmail.com> Signed-off-by: Anand V. Avati <avati@dev.gluster.com> BUG: 361 (GlusterFS 3.0 should work on Mac OS/X) URL: http://bugs.gluster.com/cgi-bin/bugzilla3/show_bug.cgi?id=361
Diffstat (limited to 'rpc/rpc-lib')
-rw-r--r--rpc/rpc-lib/src/xdr-common.h4
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 13ac41cee70..e49aa4882c9 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