lists.arthurdejong.org
RSS feed

nss-pam-ldapd commit: r1241 - nss-pam-ldapd-solaris/nss

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

nss-pam-ldapd commit: r1241 - nss-pam-ldapd-solaris/nss



Author: arthur
Date: Mon Oct  4 22:07:40 2010
New Revision: 1241
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1241

Log:
try to make use of UNUSED() consistent

Modified:
   nss-pam-ldapd-solaris/nss/ethers.c
   nss-pam-ldapd-solaris/nss/group.c
   nss-pam-ldapd-solaris/nss/hosts.c
   nss-pam-ldapd-solaris/nss/netgroup.c
   nss-pam-ldapd-solaris/nss/networks.c
   nss-pam-ldapd-solaris/nss/passwd.c
   nss-pam-ldapd-solaris/nss/protocols.c
   nss-pam-ldapd-solaris/nss/rpc.c
   nss-pam-ldapd-solaris/nss/services.c
   nss-pam-ldapd-solaris/nss/shadow.c

Modified: nss-pam-ldapd-solaris/nss/ethers.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/ethers.c  Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/ethers.c  Mon Oct  4 22:07:40 2010        (r1241)
@@ -96,7 +96,7 @@
 #define errnop &errno
 
 /* map a hostname to the corresponding ethernet address */
-static nss_status_t _xnss_ldap_gethostton_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_gethostton_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct etherent result;
   char buffer[NSS_BUFLEN_ETHERS];
@@ -121,7 +121,7 @@
 }
 
 /* map an ethernet address to the corresponding hostname */
-static nss_status_t _xnss_ldap_getntohost_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getntohost_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct etherent result;
   struct ether_addr *addr=(struct ether_addr *)(NSS_ARGS(args)->key.ether);
@@ -153,12 +153,12 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_setetherent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setetherent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(etherentfp);
 }
 
-static nss_status_t _xnss_ldap_getetherent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getetherent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   /* TODO: cns3 uses struct ether,verify */
   struct etherent result;
@@ -176,12 +176,12 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_endetherent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endetherent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(etherentfp);
 }
 
-static nss_status_t _xnss_ldap_ethers_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_ethers_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -193,8 +193,8 @@
   _xnss_ldap_getntohost_r
 };
 
-nss_backend_t *_nss_ldap_ethers_constr(const char *UNUSED(db_name),
-      const char *UNUSED(src_name),const char *UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_ethers_constr(const char UNUSED(*db_name),
+      const char UNUSED(*src_name),const char UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/group.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/group.c   Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/group.c   Mon Oct  4 22:07:40 2010        (r1241)
@@ -183,7 +183,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getgrnam_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getgrnam_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct group priv_gr;
   struct group *gr=NSS_ARGS(args)->buf.result?(struct group 
*)NSS_ARGS(args)->buf.result:&priv_gr;
@@ -231,7 +231,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getgrgid_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getgrgid_r(nss_backend_t UNUSED(*be),void *args)
 {
   gid_t gid=NSS_ARGS(args)->key.gid;
   struct group priv_gr;
@@ -270,7 +270,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_setgrent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setgrent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(grentfp);
 }
@@ -283,7 +283,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getgrent_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getgrent_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct group priv_gr;
   struct group *gr=NSS_ARGS(args)->buf.result?(struct group 
*)NSS_ARGS(args)->buf.result:&priv_gr;
@@ -321,7 +321,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_endgrent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endgrent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(grentfp);
 }
@@ -347,7 +347,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getgroupsbymember_r(nss_backend_t 
*UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getgroupsbymember_r(nss_backend_t 
UNUSED(*be),void *args)
 {
   struct nss_groupsbymem *argp=(struct nss_groupsbymem *)args;
   nss_status_t status;
@@ -367,7 +367,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_group_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_group_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -383,8 +383,8 @@
   _xnss_ldap_getgroupsbymember_r
 };
 
-nss_backend_t *_nss_ldap_group_constr(const char *UNUSED(db_name),
-                        const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_group_constr(const char UNUSED(*db_name),
+                        const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/hosts.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/hosts.c   Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/hosts.c   Mon Oct  4 22:07:40 2010        (r1241)
@@ -248,7 +248,7 @@
 #define errnop &errno
 #define h_errnop &(NSS_ARGS(args)->h_errno)
 
-static nss_status_t _xnss_ldap_gethostbyname_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_gethostbyname_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct hostent priv_host;
   struct hostent 
*host=NSS_ARGS(args)->buf.result?NSS_ARGS(args)->buf.result:&priv_host;
@@ -300,7 +300,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_gethostbyaddr_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_gethostbyaddr_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct hostent priv_host;
   struct hostent 
*host=NSS_ARGS(args)->buf.result?NSS_ARGS(args)->buf.result:&priv_host;
@@ -355,13 +355,13 @@
 }
 
 
-static nss_status_t _xnss_ldap_sethostent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_sethostent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(hostentfp);
 }
 
 /* this function only returns addresses of the AF_INET address family */
-static nss_status_t _xnss_ldap_gethostent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_gethostent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct hostent priv_host;
   struct hostent 
*host=NSS_ARGS(args)->buf.result?NSS_ARGS(args)->buf.result:&priv_host;
@@ -409,12 +409,12 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_endhostent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endhostent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(hostentfp);
 }
 
-static nss_status_t _xnss_ldap_hosts_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_hosts_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -429,8 +429,8 @@
   _xnss_ldap_gethostbyaddr_r
 };
 
-nss_backend_t *_nss_ldap_hosts_constr(const char *UNUSED(db_name),
-                        const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_hosts_constr(const char UNUSED(*db_name),
+                        const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/netgroup.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/netgroup.c        Mon Oct  4 21:37:47 2010        
(r1240)
+++ nss-pam-ldapd-solaris/nss/netgroup.c        Mon Oct  4 22:07:40 2010        
(r1241)
@@ -146,7 +146,7 @@
 };
 typedef struct nss_ldap_netgr_backend nss_ldap_netgr_backend_t;
 
-static nss_status_t _xnss_ldap_setnetgrent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setnetgrent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   return NSS_STATUS_SUCCESS;
 }
@@ -284,12 +284,12 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_endnetgrent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endnetgrent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(netgrentfp);
 }
 
-static nss_status_t _xnss_ldap_netgroup_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_netgroup_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   nss_ldap_netgr_backend_t *ngbe=(nss_ldap_netgr_backend_t *)be;
   /* free list of nested netgroups */
@@ -345,8 +345,8 @@
   return stat;
 }
 
-nss_backend_t *_nss_ldap_netgroup_constr(const char *UNUSED(db_name),
-                           const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_netgroup_constr(const char UNUSED(*db_name),
+                           const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_ldap_netgr_backend_t *be;
   if (!(be=(nss_ldap_netgr_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/networks.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/networks.c        Mon Oct  4 21:37:47 2010        
(r1240)
+++ nss-pam-ldapd-solaris/nss/networks.c        Mon Oct  4 22:07:40 2010        
(r1241)
@@ -171,7 +171,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getnetbyname_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getnetbyname_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct netent priv_network;
   struct netent *network=NSS_ARGS(args)->buf.result?(struct netent 
*)NSS_ARGS(args)->buf.result:&priv_network;
@@ -235,7 +235,7 @@
 
 /* Note: the af parameter is ignored and is assumed to be AF_INET */
 /* TODO: implement handling of af parameter */
-static nss_status_t _xnss_ldap_getnetbyaddr_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getnetbyaddr_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct netent priv_network;
   struct netent *network=NSS_ARGS(args)->buf.result?(struct netent 
*)NSS_ARGS(args)->buf.result:&priv_network;
@@ -287,7 +287,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_setnetent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setnetent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(netentfp);
 }
@@ -301,7 +301,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getnetent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getnetent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct netent priv_network;
   struct netent *network=NSS_ARGS(args)->buf.result?(struct netent 
*)NSS_ARGS(args)->buf.result:&priv_network;
@@ -346,12 +346,12 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_endnetent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endnetent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(netentfp);
 }
 
-static nss_status_t _xnss_ldap_networks_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_networks_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -366,8 +366,8 @@
   _xnss_ldap_getnetbyaddr_r
 };
 
-nss_backend_t *_nss_ldap_networks_constr(const char *UNUSED(db_name),
-                           const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_networks_constr(const char UNUSED(*db_name),
+                           const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/passwd.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/passwd.c  Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/passwd.c  Mon Oct  4 22:07:40 2010        (r1241)
@@ -106,7 +106,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getpwnam_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getpwnam_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct passwd priv_pw;
   struct passwd *pw=NSS_ARGS(args)->buf.result?(struct passwd 
*)NSS_ARGS(args)->buf.result:&priv_pw;
@@ -155,7 +155,7 @@
 }
 
 /* open a connection to the nslcd and write the request */
-static nss_status_t _xnss_ldap_setpwent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setpwent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(pwentfp);
 }
@@ -170,12 +170,12 @@
 }
 
 /* close the stream opened with setpwent() above */
-static nss_status_t _xnss_ldap_endpwent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endpwent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(pwentfp);
 }
 
-static nss_status_t _xnss_ldap_getpwuid_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getpwuid_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct passwd priv_pw;
   struct passwd *pw=NSS_ARGS(args)->buf.result ?
@@ -209,7 +209,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_getpwent_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getpwent_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct passwd priv_pw;
   struct passwd *pw=NSS_ARGS(args)->buf.result?(struct passwd 
*)NSS_ARGS(args)->buf.result:&priv_pw;
@@ -241,7 +241,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_passwd_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_passwd_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -256,8 +256,8 @@
   _xnss_ldap_getpwuid_r        /* NSS_DBOP_PASSWD_BYUID */
 };
 
-nss_backend_t *_nss_ldap_passwd_constr(const char *UNUSED(db_name),
-                         const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_passwd_constr(const char UNUSED(*db_name),
+                         const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/protocols.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/protocols.c       Mon Oct  4 21:37:47 2010        
(r1240)
+++ nss-pam-ldapd-solaris/nss/protocols.c       Mon Oct  4 22:07:40 2010        
(r1241)
@@ -99,7 +99,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getprotobyname_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getprotobyname_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct protoent priv_proto;
   struct protoent *proto=NSS_ARGS(args)->buf.result?(struct protoent 
*)NSS_ARGS(args)->buf.result:&priv_proto;
@@ -153,7 +153,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getprotobynumber_r(nss_backend_t 
*UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getprotobynumber_r(nss_backend_t 
UNUSED(*be),void *args)
 {
   struct protoent priv_proto;
   struct protoent *proto=NSS_ARGS(args)->buf.result?(struct protoent 
*)NSS_ARGS(args)->buf.result:&priv_proto;
@@ -196,7 +196,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_setprotoent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setprotoent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(protoentfp);
 }
@@ -209,7 +209,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getprotoent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getprotoent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct protoent priv_proto;
   struct protoent *proto=NSS_ARGS(args)->buf.result?(struct protoent 
*)NSS_ARGS(args)->buf.result:&priv_proto;
@@ -251,12 +251,12 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_endprotoent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endprotoent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(protoentfp);
 }
 
-static nss_status_t _xnss_ldap_protocols_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_protocols_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -271,8 +271,8 @@
   _xnss_ldap_getprotobynumber_r
 };
 
-nss_backend_t *_nss_ldap_protocols_constr(const char *UNUSED(db_name),
-                            const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_protocols_constr(const char UNUSED(*db_name),
+                            const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/rpc.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/rpc.c     Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/rpc.c     Mon Oct  4 22:07:40 2010        (r1241)
@@ -109,7 +109,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_setrpcent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setrpcent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(protoentfp);
 }
@@ -122,12 +122,12 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_endrpcent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endrpcent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(protoentfp);
 }
 
-static nss_status_t _xnss_ldap_getrpcbyname_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getrpcbyname_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct rpcent priv_rpc;
   struct rpcent *rpc=NSS_ARGS(args)->buf.result?(struct rpcent 
*)NSS_ARGS(args)->buf.result:&priv_rpc;
@@ -169,7 +169,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_getrpcbynumber_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getrpcbynumber_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct rpcent priv_rpc;
   struct rpcent *rpc=NSS_ARGS(args)->buf.result?(struct rpcent 
*)NSS_ARGS(args)->buf.result:&priv_rpc;
@@ -212,7 +212,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_getrpcent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getrpcent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct rpcent priv_rpc;
   struct rpcent *rpc=NSS_ARGS(args)->buf.result?(struct rpcent 
*)NSS_ARGS(args)->buf.result:&priv_rpc;
@@ -254,7 +254,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_rpc_destr(nss_backend_t *be,void *UNUSED(args))
+static nss_status_t _xnss_ldap_rpc_destr(nss_backend_t *be,void UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -269,8 +269,8 @@
   _xnss_ldap_getrpcbynumber_r
 };
 
-nss_backend_t *_nss_ldap_rpc_constr(const char *UNUSED(db_name),
-                      const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_rpc_constr(const char UNUSED(*db_name),
+                      const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/services.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/services.c        Mon Oct  4 21:37:47 2010        
(r1240)
+++ nss-pam-ldapd-solaris/nss/services.c        Mon Oct  4 22:07:40 2010        
(r1241)
@@ -112,7 +112,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_setservent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setservent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(protoentfp);
 }
@@ -125,12 +125,12 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_endservent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endservent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(protoentfp);
 }
 
-static nss_status_t _xnss_ldap_getservbyname_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getservbyname_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct servent priv_service;
   struct servent *service=NSS_ARGS(args)->buf.result?(struct servent 
*)NSS_ARGS(args)->buf.result:&priv_service;
@@ -169,7 +169,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_getservbyport_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getservbyport_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   int port=NSS_ARGS(args)->key.serv.serv.port;
   struct servent priv_service;
@@ -208,7 +208,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_getservent_r(nss_backend_t *UNUSED(be),void 
*args)
+static nss_status_t _xnss_ldap_getservent_r(nss_backend_t UNUSED(*be),void 
*args)
 {
   struct servent priv_service;
   struct servent *service=NSS_ARGS(args)->buf.result?(struct servent 
*)NSS_ARGS(args)->buf.result:&priv_service;
@@ -246,7 +246,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_services_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_services_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -261,8 +261,8 @@
   _xnss_ldap_getservbyport_r
 };
 
-nss_backend_t *_nss_ldap_services_constr(const char *UNUSED(db_name),
-                           const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_services_constr(const char UNUSED(*db_name),
+                           const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))

Modified: nss-pam-ldapd-solaris/nss/shadow.c
==============================================================================
--- nss-pam-ldapd-solaris/nss/shadow.c  Mon Oct  4 21:37:47 2010        (r1240)
+++ nss-pam-ldapd-solaris/nss/shadow.c  Mon Oct  4 22:07:40 2010        (r1241)
@@ -95,7 +95,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getspnam_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getspnam_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct spwd priv_spwd;
   struct spwd *sp=NSS_ARGS(args)->buf.result?(struct spwd 
*)NSS_ARGS(args)->buf.result:&priv_spwd;
@@ -164,7 +164,7 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_setspent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_setspent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_SETENT(spentfp);
 }
@@ -177,7 +177,7 @@
   return retv;
 }
 
-static nss_status_t _xnss_ldap_getspent_r(nss_backend_t *UNUSED(be),void *args)
+static nss_status_t _xnss_ldap_getspent_r(nss_backend_t UNUSED(*be),void *args)
 {
   struct spwd priv_spwd;
   struct spwd *sp=NSS_ARGS(args)->buf.result?(struct spwd 
*)NSS_ARGS(args)->buf.result:&priv_spwd;
@@ -246,12 +246,12 @@
   return status;
 }
 
-static nss_status_t _xnss_ldap_endspent(nss_backend_t *UNUSED(be),void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_endspent(nss_backend_t UNUSED(*be),void 
UNUSED(*args))
 {
   NSS_ENDENT(spentfp);
 }
 
-static nss_status_t _xnss_ldap_shadow_destr(nss_backend_t *be,void 
*UNUSED(args))
+static nss_status_t _xnss_ldap_shadow_destr(nss_backend_t *be,void 
UNUSED(*args))
 {
   free(be);
   return NSS_STATUS_SUCCESS;
@@ -265,8 +265,8 @@
   _xnss_ldap_getspnam_r        /* NSS_DBOP_SHADOW_BYNAME */
 };
 
-nss_backend_t *_nss_ldap_shadow_constr(const char *UNUSED(db_name),
-                         const char *UNUSED(src_name),const char 
*UNUSED(cfg_args))
+nss_backend_t *_nss_ldap_shadow_constr(const char UNUSED(*db_name),
+                         const char UNUSED(*src_name),const char 
UNUSED(*cfg_args))
 {
   nss_backend_t *be;
   if (!(be=(nss_backend_t *)malloc(sizeof(*be))))
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits