From 4a4af2c2534ca1a8d31f448bcc1a2fa15c8509ac Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Wed, 12 Aug 2020 13:26:18 +0200 Subject: tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug() Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465 Signed-off-by: Volker Lendecke Reviewed-by: Stefan Metzmacher (cherry picked from commit a2b281bed022c04427ef478529462ff84fe42908) --- source3/lib/tldap.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/source3/lib/tldap.c b/source3/lib/tldap.c index 52012ab9a55..af6959ee895 100644 --- a/source3/lib/tldap.c +++ b/source3/lib/tldap.c @@ -133,6 +133,11 @@ void tldap_set_debug(struct tldap_context *ld, ld->log_private = log_private; } +static void tldap_debug( + struct tldap_context *ld, + enum tldap_debug_level level, + const char *fmt, ...) PRINTF_ATTRIBUTE(3,4); + static void tldap_debug(struct tldap_context *ld, enum tldap_debug_level level, const char *fmt, ...) -- cgit v1.2.1