aboutsummaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorBill Fumerola <billf@FreeBSD.org>1999-09-25 03:20:29 +0000
committerBill Fumerola <billf@FreeBSD.org>1999-09-25 03:20:29 +0000
commitc3922760ba41ff42fa42c8afdb87358cf9ed014c (patch)
treef034a9bfddae5f349f6b4da3f2f4340298953aff /sbin
parentdb86a11e69788100023f2a26c919e18d6fc327fd (diff)
downloadsrc-c3922760ba41ff42fa42c8afdb87358cf9ed014c.tar.gz
src-c3922760ba41ff42fa42c8afdb87358cf9ed014c.zip
Include the proper headers, remove the unnecessary function declarations.
Notes
Notes: svn path=/head/; revision=51639
Diffstat (limited to 'sbin')
-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 c664eb6177ea..19421fef91ab 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;