diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-08 22:18:46 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2004-07-08 22:18:46 +0000 |
commit | 7a566780863e826bc4a701248f83ab190ef0cf5a (patch) | |
tree | 5012110e1023aece0251bdd481becd6814264ed8 /sys/dev/usb/urio.c | |
parent | 498de9d559ef8d18745f0741a64ac726b5be698b (diff) |
put "do { } while (0)" wrappers on all the debug maroc functions
Diffstat (limited to 'sys/dev/usb/urio.c')
-rw-r--r-- | sys/dev/usb/urio.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/urio.c b/sys/dev/usb/urio.c index bcc4ca2eaa1..d0b30a72ffd 100644 --- a/sys/dev/usb/urio.c +++ b/sys/dev/usb/urio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: urio.c,v 1.17 2003/05/17 17:23:39 nate Exp $ */ +/* $OpenBSD: urio.c,v 1.18 2004/07/08 22:18:44 deraadt Exp $ */ /* $NetBSD: urio.c,v 1.15 2002/10/23 09:14:02 jdolecek Exp $ */ /* @@ -73,8 +73,8 @@ #include <dev/usb/urio.h> #ifdef URIO_DEBUG -#define DPRINTF(x) if (uriodebug) logprintf x -#define DPRINTFN(n,x) if (uriodebug>(n)) logprintf x +#define DPRINTF(x) do { if (uriodebug) logprintf x; } while (0) +#define DPRINTFN(n,x) do { if (uriodebug>(n)) logprintf x; } while (0) int uriodebug = 0; #else #define DPRINTF(x) |