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>
|
#include <dev/wscons/wsconsio.h>
|
||||||
|
|
||||||
|
|
||||||
/* #undef DEBUG */
|
/* #undef DEBUG */
|
||||||
#define DEBUG
|
#define DEBUG
|
||||||
#undef DBG
|
#undef DBG
|
||||||
extern int ws_debug_level;
|
|
||||||
#ifdef DEBUG
|
#ifdef DEBUG
|
||||||
|
extern int ws_debug_level;
|
||||||
# define DBG(lvl, f) { if ((lvl) <= ws_debug_level) f;}
|
# define DBG(lvl, f) { if ((lvl) <= ws_debug_level) f;}
|
||||||
#else
|
#else
|
||||||
# define DBG(lvl, f)
|
# define DBG(lvl, f)
|
||||||
|
Loading…
Reference in New Issue
Block a user