diff options
author | 2004-07-08 22:18:44 +0000 | |
---|---|---|
committer | 2004-07-08 22:18:44 +0000 | |
commit | fcfe4ff8fe22cbd079f608b2d3d3bb1f14a6e8a5 (patch) | |
tree | e2b7a8ebde27de702483ac588bc2d255200ef378 /sys/dev/usb/uhid.c | |
parent | make lint happier; vincent ok (diff) | |
download | wireguard-openbsd-fcfe4ff8fe22cbd079f608b2d3d3bb1f14a6e8a5.tar.xz wireguard-openbsd-fcfe4ff8fe22cbd079f608b2d3d3bb1f14a6e8a5.zip |
put "do { } while (0)" wrappers on all the debug maroc functions
Diffstat (limited to 'sys/dev/usb/uhid.c')
-rw-r--r-- | sys/dev/usb/uhid.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/uhid.c b/sys/dev/usb/uhid.c index e168efb4d69..895866d1c58 100644 --- a/sys/dev/usb/uhid.c +++ b/sys/dev/usb/uhid.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uhid.c,v 1.26 2003/06/27 16:57:14 nate Exp $ */ +/* $OpenBSD: uhid.c,v 1.27 2004/07/08 22:18:44 deraadt Exp $ */ /* $NetBSD: uhid.c,v 1.57 2003/03/11 16:44:00 augustss Exp $ */ /* @@ -69,8 +69,8 @@ #include <dev/usb/uhidev.h> #ifdef UHID_DEBUG -#define DPRINTF(x) if (uhiddebug) logprintf x -#define DPRINTFN(n,x) if (uhiddebug>(n)) logprintf x +#define DPRINTF(x) do { if (uhiddebug) logprintf x; } while (0) +#define DPRINTFN(n,x) do { if (uhiddebug>(n)) logprintf x; } while (0) int uhiddebug = 0; #else #define DPRINTF(x) |