]> git.decadent.org.uk Git - nfs-utils.git/commit
libnfs.a: move get_socket() function to utils/mount/network.c
authorChuck Lever <chuck.lever@oracle.com>
Sat, 28 Jul 2007 21:50:45 +0000 (17:50 -0400)
committerNeil Brown <neilb@suse.de>
Mon, 30 Jul 2007 06:12:53 +0000 (16:12 +1000)
commit12e990f4b07172c693203ffd1e12d0518cacb9e6
treeb6dd92cb0e07f0fd3cae0dd0a451c28856a058ad
parent56a4a153c8559efe6e090e99eaf190d530299de2
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>
support/include/conn.h
support/nfs/conn.c
utils/mount/network.c