diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2024-01-15 15:03:17 +0100 |
---|---|---|
committer | Christian Göttsche <cgzones@googlemail.com> | 2024-01-15 15:03:17 +0100 |
commit | 4367ace03d0c7997038662fac89757887cdc5fff (patch) | |
tree | 8a4c7cc13dde7f0e0064bf2b7ec6db0c5218054c /modules/pam_pwhistory/opasswd.h | |
parent | a695a03b9d0e15aa3f7e2eafe8e2ad47ab4c7e00 (diff) | |
download | pam-4367ace03d0c7997038662fac89757887cdc5fff.tar.gz pam-4367ace03d0c7997038662fac89757887cdc5fff.tar.bz2 pam-4367ace03d0c7997038662fac89757887cdc5fff.zip |
pam_pwhistory: 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_pwhistory/opasswd.h')
-rw-r--r-- | modules/pam_pwhistory/opasswd.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/pam_pwhistory/opasswd.h b/modules/pam_pwhistory/opasswd.h index 19a4062c..4b981d86 100644 --- a/modules/pam_pwhistory/opasswd.h +++ b/modules/pam_pwhistory/opasswd.h @@ -54,6 +54,7 @@ #ifdef HELPER_COMPILE void +PAM_FORMAT((printf, 2, 3)) helper_log_err(int err, const char *format, ...); #endif |