summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-02-02 15:10:58 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-02-02 15:10:58 +0000
commitb5b2836c45c4a74b6e7a00a6065ecbd69dd7e663 (patch)
treeeb1ef6de0d9cb19abe750971f946b21b7bf6cd6d /usr.sbin/ospfd
parenta54bbb02a56d8fbc163ea0eaec980c9ac8ee7b7e (diff)
zap cand_list_empty, found by lint.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/rde.h3
-rw-r--r--usr.sbin/ospfd/rde_spf.c8
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/ospfd/rde.h b/usr.sbin/ospfd/rde.h
index 8bc9b14ad1f..2f11ecafb05 100644
--- a/usr.sbin/ospfd/rde.h
+++ b/usr.sbin/ospfd/rde.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde.h,v 1.23 2006/01/26 15:05:08 norby Exp $ */
+/* $OpenBSD: rde.h,v 1.24 2006/02/02 15:10:57 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -128,7 +128,6 @@ void cand_list_add(struct vertex *);
struct vertex *cand_list_pop(void);
int cand_list_present(struct vertex *);
void cand_list_clr(void);
-int cand_list_empty(void);
void spf_timer(int, short, void *);
int start_spf_timer(void);
diff --git a/usr.sbin/ospfd/rde_spf.c b/usr.sbin/ospfd/rde_spf.c
index cca3910f2d8..99b36c53420 100644
--- a/usr.sbin/ospfd/rde_spf.c
+++ b/usr.sbin/ospfd/rde_spf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rde_spf.c,v 1.45 2006/02/01 20:24:08 norby Exp $ */
+/* $OpenBSD: rde_spf.c,v 1.46 2006/02/02 15:10:57 norby Exp $ */
/*
* Copyright (c) 2005 Esben Norby <norby@openbsd.org>
@@ -516,12 +516,6 @@ cand_list_clr(void)
}
}
-int
-cand_list_empty(void)
-{
- return (TAILQ_EMPTY(&cand_list));
-}
-
/* timers */
void
spf_timer(int fd, short event, void *arg)