pam_unix.c [PATCH].

From: Pawel Jakub Dawidek <nick_at_garage.freebsd.pl>
Date: Wed, 28 May 2003 23:46:51 +0200
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

Received on Wed May 28 2003 - 12:41:50 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:09 UTC