summaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorDaiki Ueno <dueno@redhat.com>2017-08-18 11:54:05 +0200
committerDaiki Ueno <ueno@gnu.org>2017-08-18 15:13:45 +0200
commit26312a8774b5d113f6e7f904f7b6654449ab7b2e (patch)
tree300817799b331ccafbe0706aa45557c3504849fc /common
parent61acf20f26b07e2f3eb253cbfee4c473544df9a7 (diff)
common: Re-add placeholder definition of p11_debug
This was mistakenly removed in commit efe6dc56c. Pointed by Lars Wendler in issue #97.
Diffstat (limited to 'common')
-rw-r--r--common/debug.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/common/debug.h b/common/debug.h
index 4bf7e78..255c62c 100644
--- a/common/debug.h
+++ b/common/debug.h
@@ -144,6 +144,10 @@ void p11_debug_precond (const char *format,
#else /* !defined (WITH_DEBUG) */
+#undef p11_debug
+#define p11_debug(format, ...) \
+ do {} while (false)
+
#undef p11_debug_err
#define p11_debug_err(errnum, format, ...) \
do {} while (false)