summaryrefslogtreecommitdiffstats
path: root/support/include
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2007-07-28 17:50:45 -0400
committerNeil Brown <neilb@suse.de>2007-07-30 16:12:53 +1000
commit12e990f4b07172c693203ffd1e12d0518cacb9e6 (patch)
treeb6dd92cb0e07f0fd3cae0dd0a451c28856a058ad /support/include
parent56a4a153c8559efe6e090e99eaf190d530299de2 (diff)
downloadnfs-utils-12e990f4b07172c693203ffd1e12d0518cacb9e6.tar.gz
nfs-utils-12e990f4b07172c693203ffd1e12d0518cacb9e6.tar.xz
nfs-utils-12e990f4b07172c693203ffd1e12d0518cacb9e6.zip
libnfs.a: move get_socket() function to utils/mount/network.c
Now we can address the real problem: that get_socket() depends on the global variable "verbose" which is only available in the mount command. Move get_socket() into utils/mount/network.c, and make it static. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de>
Diffstat (limited to 'support/include')
-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 ee1b686..2b1f07d 100644
--- a/support/include/conn.h
+++ b/support/include/conn.h
@@ -28,7 +28,5 @@ typedef struct {
static const struct timeval TIMEOUT = { 20, 0 };
static const struct timeval RETRY_TIMEOUT = { 3, 0 };
-int get_socket(struct sockaddr_in *, u_int, int, int);
-
#endif /* _CONN_H */