pam_unix.c [PATCH].

Pawel Jakub Dawidek nick at garage.freebsd.pl
Wed May 28 14:41:50 PDT 2003


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
@@ -95,8 +95,7 @@
  * 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;
@@ -159,8 +158,7 @@
  * 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 305 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-current/attachments/20030528/a8a1d5b7/attachment.bin


More information about the freebsd-current mailing list