From 7a566780863e826bc4a701248f83ab190ef0cf5a Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Thu, 8 Jul 2004 22:18:46 +0000 Subject: put "do { } while (0)" wrappers on all the debug maroc functions --- sys/dev/usb/uvscom.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'sys/dev/usb/uvscom.c') 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 . @@ -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 -- cgit v1.2.3