diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:44:59 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2003-07-02 21:44:59 +0000 |
commit | 8eb238d6dc0d517861283e95c1991e069cd19098 (patch) | |
tree | 24c2800610a3469eb0c5fb87bd1d9da9705feb51 /sbin/route/route.c | |
parent | db47935015998dfa065177216552df596183c359 (diff) |
missing protos
Diffstat (limited to 'sbin/route/route.c')
-rw-r--r-- | sbin/route/route.c | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/sbin/route/route.c b/sbin/route/route.c index aa5d3af82bf..7a5ccba5184 100644 --- a/sbin/route/route.c +++ b/sbin/route/route.c @@ -1,4 +1,4 @@ -/* $OpenBSD: route.c,v 1.58 2003/06/26 16:35:21 deraadt Exp $ */ +/* $OpenBSD: route.c,v 1.59 2003/07/02 21:44:58 deraadt Exp $ */ /* $NetBSD: route.c,v 1.16 1996/04/15 18:27:05 cgd Exp $ */ /* @@ -40,7 +40,7 @@ static const char copyright[] = #if 0 static const char sccsid[] = "@(#)route.c 8.3 (Berkeley) 3/19/94"; #else -static const char rcsid[] = "$OpenBSD: route.c,v 1.58 2003/06/26 16:35:21 deraadt Exp $"; +static const char rcsid[] = "$OpenBSD: route.c,v 1.59 2003/07/02 21:44:58 deraadt Exp $"; #endif #endif /* not lint */ @@ -115,6 +115,14 @@ static int inet6_makenetandmask(struct sockaddr_in6 *); int getaddr(int, char *, struct hostent **); int rtmsg(int, int); int x25_makemask(void); +__dead void usage(char *cp); +void quit(char *s); +char *any_ntoa(const struct sockaddr *sa); +void set_metric(char *value, int key); +void inet_makenetandmask(u_int32_t net, struct sockaddr_in *sin, int bits); +char *ns_print(struct sockaddr_ns *sns); +char *ipx_print(struct sockaddr_ipx *sipx); +void interfaces(void); extern void show(int, char **); /* XXX - from show.c */ |