]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
signal: fix redefine warnings
authorSage Weil <sage.weil@dreamhost.com>
Thu, 3 Feb 2011 18:10:51 +0000 (10:10 -0800)
committerSage Weil <sage.weil@dreamhost.com>
Thu, 3 Feb 2011 19:54:39 +0000 (11:54 -0800)
Signed-off-by: Sage Weil <sage.weil@dreamhost.com>
src/common/signal.cc

index 5a55fd3cd6324e812809396252318c5a9e83fd85..91757e56e94b2ae6cefd55097596d32818e72df8 100644 (file)
@@ -23,7 +23,9 @@
 #include <sys/stat.h>
 #include <sys/types.h>
 
+#undef dout_prefix
 #define dout_prefix *_dout
+#undef derr
 #define derr dout(0)
 
 typedef void (*signal_handler_t)(int);