summaryrefslogtreecommitdiffstats
path: root/support/include/conn.h
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-28 17:50:40 -0400
committerNeil Brown <neilb@suse.de>2007-07-30 16:12:53 +1000
commit56a4a153c8559efe6e090e99eaf190d530299de2 (patch)
treeb1a71e6af79a8dfb9d8b7ee3a045c4f0e798a964 /support/include/conn.h
parentb6e4ddd10b3c67ef210e572dec956cb35ce96440 (diff)
downloadnfs-utils-56a4a153c8559efe6e090e99eaf190d530299de2.tar.gz
nfs-utils-56a4a153c8559efe6e090e99eaf190d530299de2.tar.xz
nfs-utils-56a4a153c8559efe6e090e99eaf190d530299de2.zip
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 <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/include/conn.h')
-rw-r--r--support/include/conn.h2
1 files changed, 0 insertions, 2 deletions
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 */