pam_unix.c [PATCH].
From: Pawel Jakub Dawidek (nick_at_garage.freebsd.pl)
Date: 05/28/03
- Previous message: Moore, Robert: "RE: [acpi-jp 2279] Re: HEADSUP: acpi patches in the tree"
- Next in thread: Dag-Erling Smorgrav: "Re: pam_unix.c [PATCH]."
- Reply: Dag-Erling Smorgrav: "Re: pam_unix.c [PATCH]."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 28 May 2003 23:46:51 +0200 To: freebsd-current@freebsd.org
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@dawidek.net UNIX Systems Programmer/Administrator http://garage.freebsd.pl Am I Evil? Yes, I Am! http://cerber.sourceforge.net
- application/pgp-signature attachment: stored
- Previous message: Moore, Robert: "RE: [acpi-jp 2279] Re: HEADSUP: acpi patches in the tree"
- Next in thread: Dag-Erling Smorgrav: "Re: pam_unix.c [PATCH]."
- Reply: Dag-Erling Smorgrav: "Re: pam_unix.c [PATCH]."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|