diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2007-02-17 13:07:16 +0100 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2007-02-17 13:07:16 +0100 |
commit | 1cc1884587bd156fb210c2a049ae12b763a2a9e1 (patch) | |
tree | c4ccbf52096cd4d424879384c6cbaed739c3dc44 /nss/networks.c | |
parent | d352025fc0e8fea2f7f166b3c3f945d3aa16efa3 (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/networks.c')
-rw-r--r-- | nss/networks.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/nss/networks.c b/nss/networks.c index d4972ba..37653f3 100644 --- a/nss/networks.c +++ b/nss/networks.c @@ -28,6 +28,7 @@ #include "prototypes.h" #include "common.h" +#include "compat/attrs.h" /* Redifine some ERROR_OUT macros as we also want to set h_errnop. */ @@ -132,7 +133,7 @@ enum nss_status _nss_ldap_getnetbyaddr_r(uint32_t addr,int af,struct netent *res /* thread-local file pointer to an ongoing request */ static __thread FILE *netentfp; -enum nss_status _nss_ldap_setnetent(int stayopen) +enum nss_status _nss_ldap_setnetent(int UNUSED(stayopen)) { /* temporary storage for h_errno (used in NSS_SETENT error handling) */ |