diff options
| author | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
|---|---|---|
| committer | Manuel Bentele | 2020-10-23 15:18:01 +0200 |
| commit | dbb41ce2b7f309d394054a6bd1e33afd578798a5 (patch) | |
| tree | 6a31092063d9f2fb5ac5720ec6759040e793c3d5 /utils/include/debugobj.h | |
| parent | Set Linux kernel version to unknown if it is not detectable (diff) | |
| download | xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.gz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.tar.xz xloop-dbb41ce2b7f309d394054a6bd1e33afd578798a5.zip | |
Move the source code of all xloop components to the common 'src' directory
Diffstat (limited to 'utils/include/debugobj.h')
| -rw-r--r-- | utils/include/debugobj.h | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/utils/include/debugobj.h b/utils/include/debugobj.h deleted file mode 100644 index 73b70b8..0000000 --- a/utils/include/debugobj.h +++ /dev/null @@ -1,22 +0,0 @@ -#ifndef UTIL_LINUX_DEBUGOBJ_H -#define UTIL_LINUX_DEBUGOBJ_H - -/* - * Include *after* debug.h and after UL_DEBUG_CURRENT_MASK define. - */ - -static inline void __attribute__ ((__format__ (__printf__, 2, 3))) -ul_debugobj(const void *handler, const char *mesg, ...) -{ - va_list ap; - - if (handler && !(UL_DEBUG_CURRENT_MASK & __UL_DEBUG_FL_NOADDR)) - fprintf(stderr, "[%p]: ", handler); - - va_start(ap, mesg); - vfprintf(stderr, mesg, ap); - va_end(ap); - fputc('\n', stderr); -} - -#endif /* UTIL_LINUX_DEBUGOBJ_H */ |
