From 56a4a153c8559efe6e090e99eaf190d530299de2 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Sat, 28 Jul 2007 17:50:40 -0400 Subject: libnfs.a: move clnt_ping() to utils/mount Continue clean up of mount functionality in libnfs.a by moving clnt_ping() to utils/mount/network.c. Note that socklen_t is an unsigned int... the i386 gcc compiler threw a signedness warning about the 3rd argument of getsockname(). Signed-off-by: Chuck Lever Signed-off-by: Neil Brown --- support/include/conn.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'support/include') diff --git a/support/include/conn.h b/support/include/conn.h index 48f5a1c..ee1b686 100644 --- a/support/include/conn.h +++ b/support/include/conn.h @@ -28,8 +28,6 @@ typedef struct { static const struct timeval TIMEOUT = { 20, 0 }; static const struct timeval RETRY_TIMEOUT = { 3, 0 }; -int clnt_ping(struct sockaddr_in *, const u_long, const u_long, const u_int, - struct sockaddr_in *); int get_socket(struct sockaddr_in *, u_int, int, int); #endif /* _CONN_H */ -- cgit