diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-06-12 12:37:15 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-06-12 12:37:15 +0000 |
| commit | 2180733f75fb525e17438b436f19e6fb0a24a8ee (patch) | |
| tree | 8ffafe092c7638d7d6b252ca699f94d59430b7f1 | |
| parent | e6b32a86af73cab9fcb6f67b5575e7032bf5e977 (diff) | |
Notes
| -rw-r--r-- | usr.bin/rpcinfo/rpcinfo.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.bin/rpcinfo/rpcinfo.c b/usr.bin/rpcinfo/rpcinfo.c index f6cae7162ddb..4b77f34c47b8 100644 --- a/usr.bin/rpcinfo/rpcinfo.c +++ b/usr.bin/rpcinfo/rpcinfo.c @@ -2,7 +2,7 @@ /*static char sccsid[] = "from: @(#)rpcinfo.c 1.22 87/08/12 SMI";*/ /*static char sccsid[] = "from: @(#)rpcinfo.c 2.2 88/08/11 4.0 RPCSRC";*/ static char rcsid[] = - "$Id: rpcinfo.c,v 1.6 1997/08/06 06:49:06 charnier Exp $"; + "$Id: rpcinfo.c,v 1.7 1998/06/09 04:30:56 imp Exp $"; #endif /* @@ -54,6 +54,7 @@ static char rcsid[] = #include <signal.h> #include <ctype.h> #include <sys/param.h> +#include <arpa/inet.h> #define MAXHOSTLEN 256 @@ -71,8 +72,6 @@ static void usage(/*void*/); static u_long getprognum(/*char *arg*/); static u_long getvers(/*char *arg*/); static void get_inet_address(/*struct sockaddr_in *addr, char *host*/); -extern u_long inet_addr(); /* in 4.2BSD, arpa/inet.h called that a in_addr */ -extern char *inet_ntoa(); /* * Functions to be performed. |
