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/ubsa.c | |
parent | 498de9d559ef8d18745f0741a64ac726b5be698b (diff) |
put "do { } while (0)" wrappers on all the debug maroc functions
Diffstat (limited to 'sys/dev/usb/ubsa.c')
-rw-r--r-- | sys/dev/usb/ubsa.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/ubsa.c b/sys/dev/usb/ubsa.c index 96b166384d7..90aacbc04a1 100644 --- a/sys/dev/usb/ubsa.c +++ b/sys/dev/usb/ubsa.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ubsa.c,v 1.4 2003/11/11 15:14:56 miod Exp $ */ +/* $OpenBSD: ubsa.c,v 1.5 2004/07/08 22:18:44 deraadt Exp $ */ /* $NetBSD: ubsa.c,v 1.5 2002/11/25 00:51:33 fvdl Exp $ */ /*- * Copyright (c) 2002, Alexander Kabaev <kan.FreeBSD.org>. @@ -105,10 +105,7 @@ SYSCTL_INT(_hw_usb_ubsa, OID_AUTO, debug, CTLFLAG_RW, &ubsadebug, 0, "ubsa debug level"); #endif -#define DPRINTFN(n, x) do { \ - if (ubsadebug > (n)) \ - logprintf x; \ - } while (0) +#define DPRINTFN(n, x) do { if (ubsadebug > (n)) logprintf x; } while (0) #else #define DPRINTFN(n, x) #endif |