git: 6f4d99c65404 - main - pam_unix: Remove bogus __unused attribute
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 05 Sep 2022 18:55:32 UTC
The branch main has been updated by zirias (ports committer): URL: https://cgit.FreeBSD.org/src/commit/?id=6f4d99c654046f98a65df5d3277c0b585845c642 commit 6f4d99c654046f98a65df5d3277c0b585845c642 Author: Felix Palmen <zirias@FreeBSD.org> AuthorDate: 2022-09-05 18:50:29 +0000 Commit: Felix Palmen <zirias@FreeBSD.org> CommitDate: 2022-09-05 18:53:22 +0000 pam_unix: Remove bogus __unused attribute Approved by: cy, des, tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D34320 --- lib/libpam/modules/pam_unix/pam_unix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libpam/modules/pam_unix/pam_unix.c b/lib/libpam/modules/pam_unix/pam_unix.c index 29588f0af1ea..50a1d03ebc43 100644 --- a/lib/libpam/modules/pam_unix/pam_unix.c +++ b/lib/libpam/modules/pam_unix/pam_unix.c @@ -87,7 +87,7 @@ static char password_hash[] = PASSWORD_HASH; * authentication management */ PAM_EXTERN int -pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, +pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc __unused, const char *argv[] __unused) { login_cap_t *lc;