From a695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00 Mon Sep 17 00:00:00 2001 From: Christian Göttsche Date: Mon, 15 Jan 2024 15:02:58 +0100 Subject: pam_unix: annotate declaration with format attribute Instead of annotating the function definition with the format attribute annotate the declaration, so the annotation is visible at call sites. --- modules/pam_unix/passverify.c | 1 - 1 file changed, 1 deletion(-) (limited to 'modules/pam_unix/passverify.c') diff --git a/modules/pam_unix/passverify.c b/modules/pam_unix/passverify.c index c6515a65..045ea785 100644 --- a/modules/pam_unix/passverify.c +++ b/modules/pam_unix/passverify.c @@ -1132,7 +1132,6 @@ helper_verify_password(const char *name, const char *p, int nullok) } void -PAM_FORMAT((printf, 2, 3)) helper_log_err(int err, const char *format, ...) { va_list args; -- cgit v1.2.3