diff options
author | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2011-11-19 12:59:56 +0000 |
---|---|---|
committer | Alexandr Shadchin <shadchin@cvs.openbsd.org> | 2011-11-19 12:59:56 +0000 |
commit | 8ad5e5513ff3399aef99c60f6b2f0fcbe989e899 (patch) | |
tree | 6d67cabc57e26c51f89d6eb992c9b1947aa81bc8 | |
parent | c9d69b669b61712368938912a13567d865d30b0a (diff) |
ws_debug_level used only if defined DEBUG.
ok matthieu@
-rw-r--r-- | driver/xf86-input-ws/src/ws.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/driver/xf86-input-ws/src/ws.h b/driver/xf86-input-ws/src/ws.h index f03b6ec9f..649c73975 100644 --- a/driver/xf86-input-ws/src/ws.h +++ b/driver/xf86-input-ws/src/ws.h @@ -16,12 +16,11 @@ #include <dev/wscons/wsconsio.h> - /* #undef DEBUG */ #define DEBUG #undef DBG -extern int ws_debug_level; #ifdef DEBUG +extern int ws_debug_level; # define DBG(lvl, f) { if ((lvl) <= ws_debug_level) f;} #else # define DBG(lvl, f) |