diff options
author | peter <peter@FreeBSD.org> | 1998-06-12 12:55:46 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 1998-06-12 12:55:46 +0000 |
commit | 0b9db54b14d20dd5b0d9d814fcf585c1da3ff9d0 (patch) | |
tree | 400c3f5bf752d49303915485f7397fd60044c4b9 /usr.bin/telnet | |
parent | 33df921953fd1f12415a1f829836d2567e42b497 (diff) | |
download | FreeBSD-src-0b9db54b14d20dd5b0d9d814fcf585c1da3ff9d0.zip FreeBSD-src-0b9db54b14d20dd5b0d9d814fcf585c1da3ff9d0.tar.gz |
#include <arpa/inet.h>
Diffstat (limited to 'usr.bin/telnet')
-rw-r--r-- | usr.bin/telnet/commands.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index c3e1f87..165bec2 100644 --- a/usr.bin/telnet/commands.c +++ b/usr.bin/telnet/commands.c @@ -59,6 +59,7 @@ static char sccsid[] = "@(#)commands.c 8.2 (Berkeley) 12/15/93"; #include <errno.h> #include <arpa/telnet.h> +#include <arpa/inet.h> #include "general.h" @@ -2093,8 +2094,6 @@ ayt_status() } #endif -unsigned long inet_addr(); - int tn(argc, argv) int argc; @@ -2104,7 +2103,6 @@ tn(argc, argv) struct sockaddr_in sin; struct servent *sp = 0; unsigned long temp; - extern char *inet_ntoa(); #if defined(IP_OPTIONS) && defined(IPPROTO_IP) char *srp = 0, *strrchr(); unsigned long sourceroute(), srlen; |