aboutsummaryrefslogtreecommitdiff
path: root/modules/pam_unix/passverify.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2024-01-15 15:02:58 +0100
committerChristian Göttsche <cgzones@googlemail.com>2024-01-15 15:02:58 +0100
commita695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00 (patch)
tree2b632737b7a779dc98d729e269a64c16208351e0 /modules/pam_unix/passverify.h
parent297a9ed4eb88cf6d4cbbdc4440f0f9ba11f90d1e (diff)
downloadpam-a695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00.tar.gz
pam-a695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00.tar.bz2
pam-a695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00.zip
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.
Diffstat (limited to 'modules/pam_unix/passverify.h')
-rw-r--r--modules/pam_unix/passverify.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_unix/passverify.h b/modules/pam_unix/passverify.h
index 463ef185..9276347c 100644
--- a/modules/pam_unix/passverify.h
+++ b/modules/pam_unix/passverify.h
@@ -37,6 +37,7 @@ save_old_password(pam_handle_t *pamh, const char *forwho, const char *oldpass,
#ifdef HELPER_COMPILE
void
+PAM_FORMAT((printf, 2, 3))
helper_log_err(int err, const char *format,...);
int