summaryrefslogtreecommitdiffstats
path: root/sbin/route
diff options
context:
space:
mode:
authorbillf <billf@FreeBSD.org>1999-09-25 03:20:29 +0000
committerbillf <billf@FreeBSD.org>1999-09-25 03:20:29 +0000
commite4191ae2b07ccd78201dfc166e7286980db3493c (patch)
tree8229a1773c57a5dcf71ea208393ea9d335edadc3 /sbin/route
parentaad82ac926963ea3b48700d1885814db4462346e (diff)
downloadFreeBSD-src-e4191ae2b07ccd78201dfc166e7286980db3493c.zip
FreeBSD-src-e4191ae2b07ccd78201dfc166e7286980db3493c.tar.gz
Include the proper headers, remove the unnecessary function declarations.
Diffstat (limited to 'sbin/route')
-rw-r--r--sbin/route/route.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c
index c664eb6..19421fe 100644
--- a/sbin/route/route.c
+++ b/sbin/route/route.c
@@ -50,6 +50,7 @@ static const char rcsid[] =
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/sysctl.h>
+#include <sys/types.h>
#include <net/if.h>
#include <net/route.h>
@@ -105,7 +106,7 @@ char *routename(), *netname();
void flushroutes(), newroute(), monitor(), sockaddr(), sodump(), bprintf();
void print_getmsg(), print_rtmsg(), pmsg_common(), pmsg_addrs(), mask_addr();
int getaddr(), rtmsg(), x25_makemask();
-extern char *inet_ntoa(), *iso_ntoa(), *link_ntoa();
+extern char *iso_ntoa();
void usage __P((const char *)) __dead2;
OpenPOWER on IntegriCloud