diff options
author | 2006-04-25 08:24:45 +0000 | |
---|---|---|
committer | 2006-04-25 08:24:45 +0000 | |
commit | ba403ad0c387cfd9cad1b00367584eba9e5f050f (patch) | |
tree | 5018e2b82c21d4c304d952b4a5c4768a130974c7 | |
parent | Path the length of the packet as size_t to in_cksum(). Enforce that the (diff) | |
download | wireguard-openbsd-ba403ad0c387cfd9cad1b00367584eba9e5f050f.tar.xz wireguard-openbsd-ba403ad0c387cfd9cad1b00367584eba9e5f050f.zip |
Kill unused function and add a ARGSUSED.
-rw-r--r-- | usr.sbin/ospfd/lsupdate.c | 9 | ||||
-rw-r--r-- | usr.sbin/ospfd/ospfe.h | 3 |
2 files changed, 3 insertions, 9 deletions
diff --git a/usr.sbin/ospfd/lsupdate.c b/usr.sbin/ospfd/lsupdate.c index f1e5b23f3d2..38d46df8e93 100644 --- a/usr.sbin/ospfd/lsupdate.c +++ b/usr.sbin/ospfd/lsupdate.c @@ -1,4 +1,4 @@ -/* $OpenBSD: lsupdate.c,v 1.29 2006/03/13 09:36:06 claudio Exp $ */ +/* $OpenBSD: lsupdate.c,v 1.30 2006/04/25 08:24:45 claudio Exp $ */ /* * Copyright (c) 2005 Claudio Jeker <claudio@openbsd.org> @@ -418,12 +418,7 @@ ls_retrans_list_clr(struct nbr *nbr) nbr->ls_ret_cnt = 0; } -int -ls_retrans_list_empty(struct nbr *nbr) -{ - return (TAILQ_EMPTY(&nbr->ls_retrans_list)); -} - +/* ARGSUSED */ void ls_retrans_timer(int fd, short event, void *bula) { diff --git a/usr.sbin/ospfd/ospfe.h b/usr.sbin/ospfd/ospfe.h index 4f01ee52dd6..222f6a95476 100644 --- a/usr.sbin/ospfd/ospfe.h +++ b/usr.sbin/ospfd/ospfe.h @@ -1,4 +1,4 @@ -/* $OpenBSD: ospfe.h,v 1.28 2006/04/24 20:18:03 claudio Exp $ */ +/* $OpenBSD: ospfe.h,v 1.29 2006/04/25 08:24:45 claudio Exp $ */ /* * Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org> @@ -187,7 +187,6 @@ int ls_retrans_list_del(struct nbr *, struct lsa_hdr *); struct lsa_entry *ls_retrans_list_get(struct nbr *, struct lsa_hdr *); void ls_retrans_list_free(struct nbr *, struct lsa_entry *); void ls_retrans_list_clr(struct nbr *); -int ls_retrans_list_empty(struct nbr *); void ls_retrans_timer(int, short, void *); void lsa_cache_init(u_int32_t); |