Hello. I think there is no need to open a PR for this. Argument 'flags' marked as unused is used in those functions: --- pam_unix.c.orig Wed May 28 23:31:54 2003 +++ pam_unix.c Wed May 28 23:32:40 2003 _at__at_ -95,8 +95,7 _at__at_ * authentication management */ PAM_EXTERN int -pam_sm_authenticate(pam_handle_t *pamh, int flags __unused, - int argc, const char *argv[]) +pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { login_cap_t *lc; struct options options; _at__at_ -159,8 +158,7 _at__at_ * account management */ PAM_EXTERN int -pam_sm_acct_mgmt(pam_handle_t *pamh, int flags __unused, - int argc, const char *argv[]) +pam_sm_acct_mgmt(pam_handle_t *pamh, int flags, int argc, const char *argv[]) { struct addrinfo hints, *res; struct options options; -- Pawel Jakub Dawidek pawel_at_dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC