tldap: Add PRINTF_ATTRIBUTE declaration to tldap_debug()
authorVolker Lendecke <vl@samba.org>
Wed, 12 Aug 2020 11:26:18 +0000 (13:26 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 31 Aug 2020 08:12:23 +0000 (08:12 +0000)
Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
(cherry picked from commit a2b281bed022c04427ef478529462ff84fe42908)

source3/lib/tldap.c

index 52012ab9a55eddc440c114816e9dbdda0c632b31..af6959ee895ab230297478028f8c64ed398a64c8 100644 (file)
@@ -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, ...)