summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSage Weil <sage@newdream.net>2010-06-17 10:36:39 -0700
committerSage Weil <sage@newdream.net>2010-06-17 10:36:39 -0700
commit6de2dde76253e56ef2dc7aa03ee709a519576dcb (patch)
treeb2393c726df80551f99d4a99bc8832dc5d241c05
parent9013832c5d1f40549697a43a76189e39fd004b93 (diff)
downloadceph-6de2dde76253e56ef2dc7aa03ee709a519576dcb.tar.gz
ceph: remove leading _ from macro
Reported-by: Markus Elfring <elfring@users.sourceforge.net> Signed-off-by: Sage Weil <sage@newdream.net>
-rw-r--r--src/include/ceph_fs.h4
-rw-r--r--wireshark/ceph/ceph_fs.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/include/ceph_fs.h b/src/include/ceph_fs.h
index 721d95b4e93..d11c6b0b6d2 100644
--- a/src/include/ceph_fs.h
+++ b/src/include/ceph_fs.h
@@ -22,8 +22,8 @@
#define CEPH_VERSION_MINOR 20
#define CEPH_VERSION_PATCH 0
-#define _CEPH_STRINGIFY(x) #x
-#define CEPH_STRINGIFY(x) _CEPH_STRINGIFY(x)
+#define CEPH_STRINGIFY_(x) #x
+#define CEPH_STRINGIFY(x) CEPH_STRINGIFY_(x)
#define CEPH_MAKE_VERSION(x, y, z) CEPH_STRINGIFY(x) "." CEPH_STRINGIFY(y) \
"." CEPH_STRINGIFY(z)
#define CEPH_VERSION CEPH_MAKE_VERSION(CEPH_VERSION_MAJOR, \
diff --git a/wireshark/ceph/ceph_fs.h b/wireshark/ceph/ceph_fs.h
index 56af192cb43..0fab7732ebf 100644
--- a/wireshark/ceph/ceph_fs.h
+++ b/wireshark/ceph/ceph_fs.h
@@ -22,8 +22,8 @@
#define CEPH_VERSION_MINOR 16
#define CEPH_VERSION_PATCH 1
-#define _CEPH_STRINGIFY(x) #x
-#define CEPH_STRINGIFY(x) _CEPH_STRINGIFY(x)
+#define CEPH_STRINGIFY_(x) #x
+#define CEPH_STRINGIFY(x) CEPH_STRINGIFY_(x)
#define CEPH_MAKE_VERSION(x, y, z) CEPH_STRINGIFY(x) "." CEPH_STRINGIFY(y) \
"." CEPH_STRINGIFY(z)
#define CEPH_VERSION CEPH_MAKE_VERSION(CEPH_VERSION_MAJOR, \