summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2006-02-02 15:11:55 +0000
committerEsben Norby <norby@cvs.openbsd.org>2006-02-02 15:11:55 +0000
commit0f489318fa3afdaa2593401f78845b37df29b080 (patch)
tree46eaac5c2eec2af757105dab60a7c4c46a132959 /usr.sbin/ospfd
parentb5b2836c45c4a74b6e7a00a6065ecbd69dd7e663 (diff)
zap md_list_empty, found by lint.
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd')
-rw-r--r--usr.sbin/ospfd/auth.c8
-rw-r--r--usr.sbin/ospfd/ospfe.h3
2 files changed, 2 insertions, 9 deletions
diff --git a/usr.sbin/ospfd/auth.c b/usr.sbin/ospfd/auth.c
index 99a9e41cf1d..f9373249860 100644
--- a/usr.sbin/ospfd/auth.c
+++ b/usr.sbin/ospfd/auth.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: auth.c,v 1.7 2005/11/12 18:18:24 deraadt Exp $ */
+/* $OpenBSD: auth.c,v 1.8 2006/02/02 15:11:54 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -241,12 +241,6 @@ md_list_clr(struct iface *iface)
}
}
-int
-md_list_empty(struct iface *iface)
-{
- return (TAILQ_EMPTY(&iface->auth_md_list));
-}
-
struct auth_md *
md_list_find(struct iface *iface, u_int8_t keyid)
{
diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h
index d7f34dc5e53..b15f090c567 100644
--- a/usr.sbin/ospfd/ospfe.h
+++ b/usr.sbin/ospfd/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.20 2005/12/29 13:53:36 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.21 2006/02/02 15:11:54 norby Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -150,7 +150,6 @@ int auth_gen(struct buf *, struct iface *);
void md_list_init(struct iface *);
void md_list_add(struct iface *, u_int8_t, char *);
void md_list_clr(struct iface *);
-int md_list_empty(struct iface *);
struct auth_md *md_list_find(struct iface *, u_int8_t);
/* database.c */