summaryrefslogtreecommitdiffstats
path: root/support/nfsidmap/nss.c
diff options
context:
space:
mode:
authorJustin Mitchell <jumitche@redhat.com>2017-09-28 14:29:01 -0400
committerSteve Dickson <steved@redhat.com>2017-10-26 08:50:08 -0400
commit545b7409de356168a39644d38e2ab5f77f468de7 (patch)
tree681e77a655216871cc2edf9c41ec055bd87e2e51 /support/nfsidmap/nss.c
parentf821eb7f9624f047a12fbf5c9dce23994eeb50e8 (diff)
downloadnfs-utils-545b7409de356168a39644d38e2ab5f77f468de7.tar.gz
nfs-utils-545b7409de356168a39644d38e2ab5f77f468de7.tar.xz
nfs-utils-545b7409de356168a39644d38e2ab5f77f468de7.zip
nfs-utils: cleanup warnings from merged libnfsidmap code
Clean up a bunch of warnings about unused parameters, signedness differences, etc that we inherited from the merged libnfsidmap code. Signed-off-by: Justin Mitchell <jumitche@redhat.com> Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support/nfsidmap/nss.c')
-rw-r--r--support/nfsidmap/nss.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/support/nfsidmap/nss.c b/support/nfsidmap/nss.c
index 48215ff..a86d768 100644
--- a/support/nfsidmap/nss.c
+++ b/support/nfsidmap/nss.c
@@ -379,7 +379,7 @@ out:
static int nss_gss_princ_to_ids(char *secname, char *princ,
uid_t *uid, uid_t *gid,
- extra_mapping_params **ex)
+ extra_mapping_params **UNUSED(ex))
{
struct passwd *pw;
int err = 0;
@@ -429,7 +429,7 @@ out:
int nss_gss_princ_to_grouplist(char *secname, char *princ,
gid_t *groups, int *ngroups,
- extra_mapping_params **ex)
+ extra_mapping_params **UNUSED(ex))
{
struct passwd *pw;
int ret = -EINVAL;
@@ -462,7 +462,7 @@ struct trans_func nss_trans = {
.gss_princ_to_grouplist = nss_gss_princ_to_grouplist,
};
-struct trans_func *libnfsidmap_plugin_init()
+struct trans_func *libnfsidmap_plugin_init(void)
{
return (&nss_trans);
}