diff options
Diffstat (limited to 'src/intf.h')
-rw-r--r-- | src/intf.h | 16 |
1 files changed, 0 insertions, 16 deletions
@@ -78,20 +78,4 @@ int tsnif_detach(struct tsnif_term *term); #define tsnif_for_each(term, t, handle) \ list_for_each_entry_safe(term, t, (&handle->terms), list) -extern int tsnif_debug; - -#define TSNIF_DEBUG(fmt, args...) \ - do { \ - if (tsnif_debug) { \ - char lpbuf[256]; \ - snprintf(lpbuf, sizeof(lpbuf)-1, "USER [%3d:%s:%05d %s] %s", \ - (pid_t) syscall(SYS_gettid), \ - __FILE__, \ - __LINE__, \ - __FUNCTION__, \ - fmt); \ - printf(lpbuf, ## args); \ - } \ - } while(0) - #endif /* !INTF_H */ |