diff options
author | Chuck Lever <chuck.lever@oracle.com> | 2007-07-28 17:50:45 -0400 |
---|---|---|
committer | Neil Brown <neilb@suse.de> | 2007-07-30 16:12:53 +1000 |
commit | 12e990f4b07172c693203ffd1e12d0518cacb9e6 (patch) | |
tree | b6dd92cb0e07f0fd3cae0dd0a451c28856a058ad /support/include | |
parent | 56a4a153c8559efe6e090e99eaf190d530299de2 (diff) | |
download | nfs-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.h | 2 |
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 */ |