summaryrefslogtreecommitdiffstats
path: root/include/debug.h
diff options
context:
space:
mode:
authorKarel Zak2014-08-13 14:13:32 +0200
committerKarel Zak2014-08-13 14:13:32 +0200
commit03e4220d29d088f04b5a08aa005c1809978c620d (patch)
tree210ec6629bd5aea5e4d22411f58693d7316ba7b4 /include/debug.h
parentinclude/debug: make masknames optional (diff)
downloadkernel-qcow2-util-linux-03e4220d29d088f04b5a08aa005c1809978c620d.tar.gz
kernel-qcow2-util-linux-03e4220d29d088f04b5a08aa005c1809978c620d.tar.xz
kernel-qcow2-util-linux-03e4220d29d088f04b5a08aa005c1809978c620d.zip
include/debug: cleanup masks
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/debug.h b/include/debug.h
index 65645fe64..af5b9ea90 100644
--- a/include/debug.h
+++ b/include/debug.h
@@ -12,6 +12,7 @@
#define UL_DEBUG_DEFINE_MASK(m) int m ## _debug_mask
#define UL_DEBUG_DECLARE_MASK(m) extern UL_DEBUG_DEFINE_MASK(m)
+#define UL_DEBUG_DEFINE_MASKANEMS(m) static const struct dbg_mask m ## _masknames[]
/* p - flag prefix, m - flag postfix */
#define UL_DEBUG_DEFINE_FLAG(p, m) p ## m