aboutsummaryrefslogtreecommitdiff
path: root/libbb/xconnect.c
diff options
context:
space:
mode:
authorGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-04-05 20:26:28 +0000
committerGravatar Denis Vlasenko <vda.linux@googlemail.com>2007-04-05 20:26:28 +0000
commit29fe7265b8c1917ebc03283f22a3eb61e9195979 (patch)
tree231771f61046cc95c765fc91f65cff26081d8fab /libbb/xconnect.c
parent00c2c4868a5bd90fe36beaf9236f23f60cd5e8e1 (diff)
downloadbusybox-29fe7265b8c1917ebc03283f22a3eb61e9195979.tar.gz
busybox-29fe7265b8c1917ebc03283f22a3eb61e9195979.tar.bz2
nc: port nc 1.10 to busybox
Diffstat (limited to 'libbb/xconnect.c')
-rw-r--r--libbb/xconnect.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/xconnect.c b/libbb/xconnect.c
index 3c1eec943..8466325c7 100644
--- a/libbb/xconnect.c
+++ b/libbb/xconnect.c
@@ -208,7 +208,7 @@ len_and_sockaddr* xdotted2sockaddr(const char *host, int port)
return str2sockaddr(host, port, AF_UNSPEC, AI_NUMERICHOST | DIE_ON_ERROR);
}
-static int xsocket_type(len_and_sockaddr **lsap, int sock_type)
+int xsocket_type(len_and_sockaddr **lsap, int sock_type)
{
len_and_sockaddr *lsa;
int fd;