Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 May 2003 23:46:51 +0200
From:      Pawel Jakub Dawidek <nick@garage.freebsd.pl>
To:        freebsd-current@freebsd.org
Cc:        Dag-Erling Smorgrav <des@FreeBSD.org>
Subject:   pam_unix.c [PATCH].
Message-ID:  <20030528214651.GK45118@garage.freebsd.pl>

next in thread | raw e-mail | index | archive | help

--/uBT6NKsG5KZd9O5
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

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 *a=
rgv[])
 {
 	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;

--=20
Pawel Jakub Dawidek                       pawel@dawidek.net
UNIX Systems Programmer/Administrator     http://garage.freebsd.pl
Am I Evil? Yes, I Am!                     http://cerber.sourceforge.net

--/uBT6NKsG5KZd9O5
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iQCVAwUBPtUuSz/PhmMH/Mf1AQFbcgP/fAh2PMYBDg4PtuC4MCjo+d4QsbJ4/pTs
OPqNFbVcozXH8AevOhh5ZXr6Z32ww65PKm9ZhUXvJiScKbmvisBPKYpm75P6GIWJ
DLbWfAcrLbkAz/ZhFA0rmZNQmMeNlBaH1WRkKTtq9785xtZMEQEilpfMY3dsG5+N
OAQrwUZHUfo=
=12I0
-----END PGP SIGNATURE-----

--/uBT6NKsG5KZd9O5--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030528214651.GK45118>