network.c: In function 'nfs_verify_family':
network.c:1366: warning: unused parameter 'family'
Signed-off-by: Steve Dickson <steved@redhat.com>
int svctcp_socket (u_long __number, int __reuse);
int svcudp_socket (u_long __number);
+
+#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
+
#endif /* NFSLIB_H */
#include "parse_opt.h"
#include "network.h"
#include "conffile.h"
+#include "nfslib.h"
#define PMAP_TIMEOUT (10)
#define CONNECT_TIMEOUT (20)
sa_family_t config_default_family = AF_UNSPEC;
static int
-nfs_verify_family(sa_family_t family)
+nfs_verify_family(sa_family_t UNUSED(family))
{
return 1;
}