summaryrefslogtreecommitdiffstats
path: root/lib/libproc/_libproc.h
diff options
context:
space:
mode:
authormarkj <markj@FreeBSD.org>2013-10-29 03:12:31 +0000
committermarkj <markj@FreeBSD.org>2013-10-29 03:12:31 +0000
commitbb1072d7ef9101f89db4769045b34123c3e344ec (patch)
tree7136523166120efa86014242a892b951a72ef3f5 /lib/libproc/_libproc.h
parent7ec78b8068b101aacbbf56e0c6a1ad783e63c9c2 (diff)
downloadFreeBSD-src-bb1072d7ef9101f89db4769045b34123c3e344ec.zip
FreeBSD-src-bb1072d7ef9101f89db4769045b34123c3e344ec.tar.gz
Revert r257248 and fix the problem in a way that doesn't violate style(9).
Suggested by: jmg
Diffstat (limited to 'lib/libproc/_libproc.h')
-rw-r--r--lib/libproc/_libproc.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libproc/_libproc.h b/lib/libproc/_libproc.h
index a650f45..8099ba1 100644
--- a/lib/libproc/_libproc.h
+++ b/lib/libproc/_libproc.h
@@ -52,6 +52,6 @@ struct proc_handle {
#define DPRINTF(...) warn(__VA_ARGS__)
#define DPRINTFX(...) warnx(__VA_ARGS__)
#else
-#define DPRINTF(...)
-#define DPRINTFX(...)
+#define DPRINTF(...) do { } while (0)
+#define DPRINTFX(...) do { } while (0)
#endif
OpenPOWER on IntegriCloud