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/uvscom.c | |
parent | 498de9d559ef8d18745f0741a64ac726b5be698b (diff) |
put "do { } while (0)" wrappers on all the debug maroc functions
Diffstat (limited to 'sys/dev/usb/uvscom.c')
-rw-r--r-- | sys/dev/usb/uvscom.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/usb/uvscom.c b/sys/dev/usb/uvscom.c index a99e4add18e..34f0c4c89a7 100644 --- a/sys/dev/usb/uvscom.c +++ b/sys/dev/usb/uvscom.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uvscom.c,v 1.3 2003/05/17 17:07:32 nate Exp $ */ +/* $OpenBSD: uvscom.c,v 1.4 2004/07/08 22:18:45 deraadt Exp $ */ /* $NetBSD: uvscom.c,v 1.9 2003/02/12 15:36:20 ichiro Exp $ */ /*- * Copyright (c) 2001-2002, Shunsuke Akiyama <akiyama@jp.FreeBSD.org>. @@ -81,10 +81,7 @@ SYSCTL_INT(_debug_usb, OID_AUTO, uvscom, CTLFLAG_RW, #endif -#define DPRINTFN(n, x) do { \ - if (uvscomdebug > (n)) \ - logprintf x; \ - } while (0) +#define DPRINTFN(n, x) do { if (uvscomdebug > (n)) logprintf x; } while (0) #else #define DPRINTFN(n, x) #endif |