summaryrefslogtreecommitdiff
path: root/nss/netgroup.c
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-10-29 20:01:30 +0100
committerArthur de Jong <arthur@arthurdejong.org>2013-10-29 23:20:01 +0100
commitf8af48faa18b6d9017ea64f4df2d6ee2b1743df3 (patch)
treec27c3d3932b850c65854ca4b855fbb68d262207b /nss/netgroup.c
parent88801f9e5a01e580adae4f386c0c755fb2a17b79 (diff)
Fix a number of compiler warnings
This includes a number of small fixes for issues that were formerly masked by the incorrect AC_LANG_PROGRAM check.
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 3777c4c..bd70768 100644
--- a/nss/netgroup.c
+++ b/nss/netgroup.c
@@ -321,7 +321,8 @@ static nss_backend_op_t netgroup_setnetgrent_ops[] = {
netgroup_setnetgrent_getnetgrent,
};
-static nss_status_t netgroup_setnetgrent_constructor(nss_backend_t *be, void *args)
+static nss_status_t netgroup_setnetgrent_constructor(nss_backend_t UNUSED(*be),
+ void *args)
{
struct setnetgrent_backend *ngbe;
nss_status_t retv;