diff options
Diffstat (limited to 'CommonLibs/debug.h')
-rw-r--r-- | CommonLibs/debug.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/CommonLibs/debug.h b/CommonLibs/debug.h index 760ab32..ad12bb8 100644 --- a/CommonLibs/debug.h +++ b/CommonLibs/debug.h @@ -15,21 +15,10 @@ enum { DLMS, }; - -bool log_mutex_init(); -void log_mutex_lock(); -void log_mutex_unlock(); -void log_mutex_lock_canceldisable(int *st); -void log_mutex_unlock_canceldisable(int st); - #define CLOGC(category, level, fmt, args...) do { \ - log_mutex_lock(); \ LOGP(category, level, "[tid=%lu] " fmt, pthread_self(), ##args); \ - log_mutex_unlock(); \ } while(0) #define CLOGCHAN(chan, category, level, fmt, args...) do { \ - log_mutex_lock(); \ LOGP(category, level, "[tid=%lu][chan=%lu] " fmt, pthread_self(), chan, ##args); \ - log_mutex_unlock(); \ } while(0) |