From 12e990f4b07172c693203ffd1e12d0518cacb9e6 Mon Sep 17 00:00:00 2001 From: Chuck Lever Date: Sat, 28 Jul 2007 17:50:45 -0400 Subject: 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 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 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 */ -- cgit