summaryrefslogtreecommitdiff
path: root/usr.sbin/ospf6d
diff options
context:
space:
mode:
authorJonathan Gray <jsg@cvs.openbsd.org>2024-05-18 11:17:31 +0000
committerJonathan Gray <jsg@cvs.openbsd.org>2024-05-18 11:17:31 +0000
commit9186bcf09fddf5dfc0d862cce4c8e76b78fbeb96 (patch)
treeac6f46378c9e2bd1b9a6baa5e71e485bd57610dd /usr.sbin/ospf6d
parent21869a11973300948f022b3a77da70c0d0ff35e6 (diff)
remove prototypes with no matching function; ok claudio@
Diffstat (limited to 'usr.sbin/ospf6d')
-rw-r--r--usr.sbin/ospf6d/kroute.c3
-rw-r--r--usr.sbin/ospf6d/ospf6d.h5
-rw-r--r--usr.sbin/ospf6d/ospfe.h5
-rw-r--r--usr.sbin/ospf6d/packet.c3
4 files changed, 4 insertions, 12 deletions
diff --git a/usr.sbin/ospf6d/kroute.c b/usr.sbin/ospf6d/kroute.c
index 28ca7fac800..962b3627fc7 100644
--- a/usr.sbin/ospf6d/kroute.c
+++ b/usr.sbin/ospf6d/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.68 2023/06/21 09:47:03 sthen Exp $ */
+/* $OpenBSD: kroute.c,v 1.69 2024/05/18 11:17:30 jsg Exp $ */
/*
* Copyright (c) 2004 Esben Norby <norby@openbsd.org>
@@ -97,7 +97,6 @@ void if_announce(void *);
int send_rtmsg(int, int, struct kroute *);
int dispatch_rtmsg(void);
int fetchtable(void);
-int refetchtable(void);
int rtmsg_process(char *, size_t);
void kr_fib_reload_timer(int, short, void *);
void kr_fib_reload_arm_timer(int);
diff --git a/usr.sbin/ospf6d/ospf6d.h b/usr.sbin/ospf6d/ospf6d.h
index a8f2a929ebc..5e2e1d35b4c 100644
--- a/usr.sbin/ospf6d/ospf6d.h
+++ b/usr.sbin/ospf6d/ospf6d.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospf6d.h,v 1.51 2023/06/21 09:47:03 sthen Exp $ */
+/* $OpenBSD: ospf6d.h,v 1.52 2024/05/18 11:17:30 jsg Exp $ */
/*
* Copyright (c) 2004, 2007 Esben Norby <norby@openbsd.org>
@@ -534,9 +534,6 @@ struct iface *if_new(u_short, char *);
void if_update(struct iface *, int, int, u_int8_t, u_int8_t,
u_int64_t, u_int32_t);
-/* in_cksum.c */
-u_int16_t in_cksum(void *, size_t);
-
/* iso_cksum.c */
u_int16_t iso_cksum(void *, u_int16_t, u_int16_t);
diff --git a/usr.sbin/ospf6d/ospfe.h b/usr.sbin/ospf6d/ospfe.h
index 7fec5f8df85..5b3ac45a6ac 100644
--- a/usr.sbin/ospf6d/ospfe.h
+++ b/usr.sbin/ospf6d/ospfe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ospfe.h,v 1.25 2021/01/19 09:43:40 claudio Exp $ */
+/* $OpenBSD: ospfe.h,v 1.26 2024/05/18 11:17:30 jsg Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -99,7 +99,6 @@ struct ctl_conn;
int send_db_description(struct nbr *);
void recv_db_description(struct nbr *, char *, u_int16_t);
void db_sum_list_add(struct nbr *, struct lsa_hdr *);
-int db_sum_list_del(struct nbr *, struct lsa_hdr *);
void db_sum_list_clr(struct nbr *);
void db_tx_timer(int, short, void *);
void start_db_tx_timer(struct nbr *);
@@ -148,7 +147,6 @@ int if_set_ipv6_pktinfo(int, int);
int if_set_ipv6_checksum(int);
/* lsack.c */
-int delay_lsa_ack(struct iface *, struct lsa_hdr *);
int send_direct_ack(struct iface *, struct in6_addr, void *, size_t);
void recv_ls_ack(struct nbr *, char *, u_int16_t);
int lsa_hdr_check(struct nbr *, struct lsa_hdr *);
@@ -164,7 +162,6 @@ void stop_ls_ack_tx_timer(struct iface *);
int send_ls_req(struct nbr *);
void recv_ls_req(struct nbr *, char *, u_int16_t);
void ls_req_list_add(struct nbr *, struct lsa_hdr *);
-int ls_req_list_del(struct nbr *, struct lsa_hdr *);
struct lsa_entry *ls_req_list_get(struct nbr *, struct lsa_hdr *);
void ls_req_list_free(struct nbr *, struct lsa_entry *);
void ls_req_list_clr(struct nbr *);
diff --git a/usr.sbin/ospf6d/packet.c b/usr.sbin/ospf6d/packet.c
index 2ed0e4361bb..affc66577cc 100644
--- a/usr.sbin/ospf6d/packet.c
+++ b/usr.sbin/ospf6d/packet.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: packet.c,v 1.22 2023/07/03 09:51:38 claudio Exp $ */
+/* $OpenBSD: packet.c,v 1.23 2024/05/18 11:17:30 jsg Exp $ */
/*
* Copyright (c) 2004, 2005 Esben Norby <norby@openbsd.org>
@@ -36,7 +36,6 @@
#include "log.h"
#include "ospfe.h"
-int ip_hdr_sanity_check(const struct ip6_hdr *, u_int16_t);
int ospf_hdr_sanity_check(struct ospf_hdr *, u_int16_t,
const struct iface *, struct in6_addr *);
struct iface *find_iface(struct ospfd_conf *, unsigned int,