ws_debug_level used only if defined DEBUG.
ok matthieu@
This commit is contained in:
parent
df8922a136
commit
cb94a4132b
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user