lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1256 - in nss-pam-ldapd: nslcd nss pam

[Date Prev][Date Next] [Thread Prev][Thread Next]

nss-pam-ldapd commit: r1256 - in nss-pam-ldapd: nslcd nss pam



Author: arthur
Date: Sun Oct 10 21:57:22 2010
New Revision: 1256
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1256

Log:
make use of UNUSED() consistent throughout the code

Modified:
   nss-pam-ldapd/nslcd/myldap.c
   nss-pam-ldapd/nss/netgroup.c
   nss-pam-ldapd/pam/pam.c

Modified: nss-pam-ldapd/nslcd/myldap.c
==============================================================================
--- nss-pam-ldapd/nslcd/myldap.c        Sun Oct 10 21:53:26 2010        (r1255)
+++ nss-pam-ldapd/nslcd/myldap.c        Sun Oct 10 21:57:22 2010        (r1256)
@@ -464,7 +464,7 @@
 #ifdef HAVE_LDAP_SET_REBIND_PROC
 /* This function is called by the LDAP library when chasing referrals.
    It is configured with the ldap_set_rebind_proc() below. */
-static int do_rebind(LDAP *UNUSED(ld),LDAP_CONST char *url,
+static int do_rebind(LDAP UNUSED(*ld),LDAP_CONST char *url,
                      ber_tag_t UNUSED(request),
                      ber_int_t UNUSED(msgid),void *arg)
 {

Modified: nss-pam-ldapd/nss/netgroup.c
==============================================================================
--- nss-pam-ldapd/nss/netgroup.c        Sun Oct 10 21:53:26 2010        (r1255)
+++ nss-pam-ldapd/nss/netgroup.c        Sun Oct 10 21:57:22 2010        (r1256)
@@ -119,7 +119,7 @@
 }
 
 /* close the stream opened with setnetgrent() above */
-nss_status_t _nss_ldap_endnetgrent(struct __netgrent UNUSED(* result))
+nss_status_t _nss_ldap_endnetgrent(struct __netgrent UNUSED(*result))
 {
   NSS_ENDENT(netgrentfp);
 }

Modified: nss-pam-ldapd/pam/pam.c
==============================================================================
--- nss-pam-ldapd/pam/pam.c     Sun Oct 10 21:53:26 2010        (r1255)
+++ nss-pam-ldapd/pam/pam.c     Sun Oct 10 21:57:22 2010        (r1256)
@@ -92,7 +92,7 @@
 }
 
 /* free the context (this is installed as handler into PAM) */
-static void ctx_free(pam_handle_t *UNUSED(pamh),void *data,int UNUSED(err))
+static void ctx_free(pam_handle_t UNUSED(*pamh),void *data,int UNUSED(err))
 {
   struct pld_ctx *ctx=data;
   ctx_clear(ctx);
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits