summaryrefslogtreecommitdiff
path: root/usr.sbin/rtsold
diff options
context:
space:
mode:
authorCharles Longeau <chl@cvs.openbsd.org>2008-01-05 17:03:10 +0000
committerCharles Longeau <chl@cvs.openbsd.org>2008-01-05 17:03:10 +0000
commit6d699a79c84209eff107f41bdb9b188494e6f8b8 (patch)
tree65a6ef067c892671515f1e4995b44761959e186a /usr.sbin/rtsold
parent5084ffc7d9ea02e2705876cbf3731d61eea89140 (diff)
remove unused function
initially from tobias@, removed some unused prototypes too "looks good to me" jaredy@ ok tobias@
Diffstat (limited to 'usr.sbin/rtsold')
-rw-r--r--usr.sbin/rtsold/rtsold.c21
1 files changed, 1 insertions, 20 deletions
diff --git a/usr.sbin/rtsold/rtsold.c b/usr.sbin/rtsold/rtsold.c
index 243aa5f0393..4db48bfcdb6 100644
--- a/usr.sbin/rtsold/rtsold.c
+++ b/usr.sbin/rtsold/rtsold.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rtsold.c,v 1.39 2006/11/07 07:20:16 ray Exp $ */
+/* $OpenBSD: rtsold.c,v 1.40 2008/01/05 17:03:09 chl Exp $ */
/* $KAME: rtsold.c,v 1.75 2004/01/03 00:00:07 itojun Exp $ */
/*
@@ -89,11 +89,8 @@ static char *dumpfilename = "/var/run/rtsold.dump"; /* XXX: should be configurab
static int ifreconfig(char *);
#endif
int ifconfig(char *ifname);
-void iflist_init(void);
static int make_packet(struct ifinfo *);
static struct timeval *rtsol_check_timer(void);
-static void TIMEVAL_ADD(struct timeval *, struct timeval *, struct timeval *);
-static void TIMEVAL_SUB(struct timeval *, struct timeval *, struct timeval *);
#ifndef SMALL
static void rtsold_set_dump_file(int);
@@ -378,22 +375,6 @@ bad:
return(-1);
}
-void
-iflist_init(void)
-{
- struct ifinfo *ifi, *next;
-
- for (ifi = iflist; ifi; ifi = next) {
- next = ifi->next;
- if (ifi->sdl)
- free(ifi->sdl);
- if (ifi->rs_data)
- free(ifi->rs_data);
- free(ifi);
- iflist = NULL;
- }
-}
-
#if 0
static int
ifreconfig(char *ifname)