File fix-prototype.patch of Package nfsidmap
--- libnfsidmap.c
+++ libnfsidmap.c
@@ -183,7 +183,7 @@
unload_plugins(plgns);
return ret;
}
-int nfs4_cleanup_name_mapping()
+void nfs4_cleanup_name_mapping()
{
if (nfs4_plugins)
unload_plugins(nfs4_plugins);
--- nfsidmap.h
+++ nfsidmap.h
@@ -50,6 +50,7 @@
typedef void (*nfs4_idmap_log_function_t)(const char *, ...);
int nfs4_init_name_mapping(char *conffile);
+void nfs4_cleanup_name_mapping(void);
int nfs4_get_default_domain(char *server, char *domain, size_t len);
int nfs4_uid_to_name(uid_t uid, char *domain, char *name, size_t len);
int nfs4_gid_to_name(gid_t gid, char *domain, char *name, size_t len);
--- nss.c
+++ nss.c
@@ -44,6 +44,7 @@
#include <netdb.h>
#include <err.h>
#include <grp.h>
+#include <ctype.h>
#include "nfsidmap.h"
#include "nfsidmap_internal.h"
#include "cfg.h"
--- libnfsidmap.c
+++ libnfsidmap.c
@@ -49,6 +49,7 @@
#include <syslog.h>
#include <stdarg.h>
#include <dlfcn.h>
+#include <ctype.h>
#include "nfsidmap.h"
#include "nfsidmap_internal.h"
#include "cfg.h"