diff options
author | Campus <campus@ntop.org> | 2015-11-12 12:08:41 +0100 |
---|---|---|
committer | Campus <campus@ntop.org> | 2015-11-12 12:08:41 +0100 |
commit | a4f170604ce97b12718181fd43f506edbdb0b0d5 (patch) | |
tree | e61b9887adde422ff8b7f5fd37b01eb8993c618a /src/lib/protocols/btlib.c | |
parent | 349e0b6fd22f50426e37362a92683d0478352882 (diff) |
removed kernel support and #if 0s
Diffstat (limited to 'src/lib/protocols/btlib.c')
-rw-r--r-- | src/lib/protocols/btlib.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/lib/protocols/btlib.c b/src/lib/protocols/btlib.c index 6442c7db7..beea43d0d 100644 --- a/src/lib/protocols/btlib.c +++ b/src/lib/protocols/btlib.c @@ -42,8 +42,6 @@ typedef signed long long int i_int64_t; #include "btlib.h" -#ifndef __KERNEL__ - int bt_parse_debug = 0; static char *printXb(char *s,const u_int8_t *b,int l) { @@ -183,11 +181,8 @@ static void _print_safe_str(char *msg,char *k,const u_int8_t *s,size_t l) { static void print_safe_str(char *msg,bt_parse_data_cb_t *cbd) { _print_safe_str(msg,cbd->buf,cbd->v.s.s,cbd->v.s.l); } -#define DEBUG_TRACE(cmd) { if(bt_parse_debug) cmd; } -#else -#define DEBUG_TRACE(cmd,args...) -#endif /* __KERNEL */ +#define DEBUG_TRACE(cmd) { if(bt_parse_debug) cmd; } #define STREQ(a,b) !strcmp(a,b) |