summaryrefslogtreecommitdiff
path: root/sbin/route/show.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-15 23:41:43 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2004-09-15 23:41:43 +0000
commit05f19387ea5e3b6394af75b381701df0201a89d1 (patch)
tree0db448bb6d716418c808f231ad4cd99fe1844125 /sbin/route/show.c
parentf617cfa970dcb73673083894dd628868bfae39d4 (diff)
unused functions
Diffstat (limited to 'sbin/route/show.c')
-rw-r--r--sbin/route/show.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c
index 3f06674fb39..b0cf33a663d 100644
--- a/sbin/route/show.c
+++ b/sbin/route/show.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: show.c,v 1.33 2004/07/05 02:19:03 pvalchev Exp $ */
+/* $OpenBSD: show.c,v 1.34 2004/09/15 23:41:42 deraadt Exp $ */
/* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "from: @(#)route.c 8.3 (Berkeley) 3/9/94";
#else
-static const char rcsid[] = "$OpenBSD: show.c,v 1.33 2004/07/05 02:19:03 pvalchev Exp $";
+static const char rcsid[] = "$OpenBSD: show.c,v 1.34 2004/09/15 23:41:42 deraadt Exp $";
#endif
#endif /* not lint */
@@ -309,18 +309,6 @@ pr_family(af)
}
void
-p_addr(struct sockaddr *sa, struct sockaddr *mask, int flags)
-{
- p_sockaddr(sa, mask, flags, WID_DST(sa->sa_family));
-}
-
-void
-p_gwaddr(struct sockaddr *sa, int af)
-{
- p_sockaddr(sa, 0, RTF_HOST, WID_GW(af));
-}
-
-void
p_sockaddr(struct sockaddr *sa, struct sockaddr *mask, int flags, int width)
{
char *cp;