summaryrefslogtreecommitdiffstats
path: root/support
diff options
context:
space:
mode:
authorSteve Dickson <steved@redhat.com>2010-08-04 10:22:13 -0400
committerSteve Dickson <steved@redhat.com>2010-08-09 09:57:02 -0400
commitbe5b2ed57b0e0a3da91f4ec785718302d0351199 (patch)
tree80ef52f130b83d11c6512268a20bbdac25d8f260 /support
parent6b8d7c05fe738a4c7295754b4be552c703024f58 (diff)
downloadnfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.tar.gz
nfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.tar.xz
nfs-utils-be5b2ed57b0e0a3da91f4ec785718302d0351199.zip
Removed warnings from network.c
network.c: In function 'nfs_verify_family': network.c:1366: warning: unused parameter 'family' Signed-off-by: Steve Dickson <steved@redhat.com>
Diffstat (limited to 'support')
-rw-r--r--support/include/nfslib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/support/include/nfslib.h b/support/include/nfslib.h
index f57f2e2..af242d3 100644
--- a/support/include/nfslib.h
+++ b/support/include/nfslib.h
@@ -160,4 +160,7 @@ void closeall(int min);
int svctcp_socket (u_long __number, int __reuse);
int svcudp_socket (u_long __number);
+
+#define UNUSED(x) UNUSED_ ## x __attribute__((unused))
+
#endif /* NFSLIB_H */