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/if_cue.c | |
parent | 498de9d559ef8d18745f0741a64ac726b5be698b (diff) |
put "do { } while (0)" wrappers on all the debug maroc functions
Diffstat (limited to 'sys/dev/usb/if_cue.c')
-rw-r--r-- | sys/dev/usb/if_cue.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/usb/if_cue.c b/sys/dev/usb/if_cue.c index 39c39eb4056..d1b7c1b8bb8 100644 --- a/sys/dev/usb/if_cue.c +++ b/sys/dev/usb/if_cue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_cue.c,v 1.20 2004/06/06 17:56:37 mcbride Exp $ */ +/* $OpenBSD: if_cue.c,v 1.21 2004/07/08 22:18:44 deraadt Exp $ */ /* $NetBSD: if_cue.c,v 1.40 2002/07/11 21:14:26 augustss Exp $ */ /* * Copyright (c) 1997, 1998, 1999, 2000 @@ -124,8 +124,8 @@ #include <dev/usb/if_cuereg.h> #ifdef CUE_DEBUG -#define DPRINTF(x) if (cuedebug) logprintf x -#define DPRINTFN(n,x) if (cuedebug >= (n)) logprintf x +#define DPRINTF(x) do { if (cuedebug) logprintf x; } while (0) +#define DPRINTFN(n,x) do { if (cuedebug >= (n)) logprintf x; } while (0) int cuedebug = 0; #else #define DPRINTF(x) |