Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nss/netgroup.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2007-02-17 13:07:16 +0100
committerArthur de Jong <arthur@arthurdejong.org>2007-02-17 13:07:16 +0100
commit1cc1884587bd156fb210c2a049ae12b763a2a9e1 (patch)
treec4ccbf52096cd4d424879384c6cbaed739c3dc44 /nss/netgroup.c
parentd352025fc0e8fea2f7f166b3c3f945d3aa16efa3 (diff)
add gcc attributes to some functions and parameters
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-ldapd@250 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nss/netgroup.c')
-rw-r--r--nss/netgroup.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/netgroup.c b/nss/netgroup.c
index 4781e7f..3f0a60f 100644
--- a/nss/netgroup.c
+++ b/nss/netgroup.c
@@ -29,6 +29,7 @@
#include "prototypes.h"
#include "common.h"
+#include "compat/attrs.h"
/* we redifine this here because we need to return NSS_STATUS_RETURN
if we have sucessfully read some entries */
@@ -126,7 +127,7 @@ enum nss_status _nss_ldap_getnetgrent_r(struct __netgrent *result,char *buffer,s
NSS_GETENT(netgrentfp,read_netgrent(netgrentfp,result,buffer,buflen,errnop));
}
-enum nss_status _nss_ldap_endnetgrent(struct __netgrent *result)
+enum nss_status _nss_ldap_endnetgrent(struct __netgrent UNUSED(* result))
{
NSS_ENDENT(netgrentfp);
}