summaryrefslogtreecommitdiff
path: root/p11-kit/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'p11-kit/debug.h')
-rw-r--r--p11-kit/debug.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/p11-kit/debug.h b/p11-kit/debug.h
index e5b970e..7fa9854 100644
--- a/p11-kit/debug.h
+++ b/p11-kit/debug.h
@@ -35,6 +35,8 @@
#ifndef DEBUG_H
#define DEBUG_H
+#include "compat.h"
+
/* Please keep this enum in sync with keys in debug.c */
typedef enum {
DEBUG_LIB = 1 << 1,
@@ -49,7 +51,7 @@ void _p11_debug_init (void);
void _p11_debug_message (int flag,
const char *format,
- ...);
+ ...) GNUC_PRINTF (2, 3);
#endif /* DEBUG_H */