diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-06-12 12:55:46 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-06-12 12:55:46 +0000 |
| commit | a60c62a3c092de7bc1fa01f72f1399fd5064596e (patch) | |
| tree | 4b21e70fab6f5580adcf434b3422ee200366b8e4 | |
| parent | 2180733f75fb525e17438b436f19e6fb0a24a8ee (diff) | |
Notes
| -rw-r--r-- | usr.bin/telnet/commands.c | 4 | ||||
| -rw-r--r-- | usr.bin/whois/whois.c | 3 |
2 files changed, 3 insertions, 4 deletions
diff --git a/usr.bin/telnet/commands.c b/usr.bin/telnet/commands.c index c3e1f8706a78..165bec2e4428 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; diff --git a/usr.bin/whois/whois.c b/usr.bin/whois/whois.c index fc13f26e3d69..ed5e5bc2b5a0 100644 --- a/usr.bin/whois/whois.c +++ b/usr.bin/whois/whois.c @@ -42,12 +42,13 @@ static const char copyright[] = static char sccsid[] = "@(#)whois.c 8.1 (Berkeley) 6/6/93"; #endif static const char rcsid[] = - "$Id: whois.c,v 1.4 1997/08/26 11:16:08 charnier Exp $"; + "$Id: whois.c,v 1.5 1998/02/19 19:07:50 wollman Exp $"; #endif /* not lint */ #include <sys/types.h> #include <sys/socket.h> #include <netinet/in.h> +#include <arpa/inet.h> #include <err.h> #include <netdb.h> #include <stdio.h> |
