From 05f19387ea5e3b6394af75b381701df0201a89d1 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Wed, 15 Sep 2004 23:41:43 +0000 Subject: unused functions --- sbin/route/show.c | 16 ++-------------- 1 file 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 */ @@ -308,18 +308,6 @@ pr_family(af) printf("\nProtocol Family %d:\n", 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) { -- cgit v1.2.3