From e15601b92a455e88bc02e7402d07250a11bffa0a Mon Sep 17 00:00:00 2001 From: jsg Date: Sat, 18 May 2024 06:34:46 +0000 Subject: [PATCH] remove prototypes with no matching function --- usr.sbin/relayd/hce.c | 3 +-- usr.sbin/relayd/relay_udp.c | 3 +-- usr.sbin/relayd/relayd.h | 5 +---- 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/usr.sbin/relayd/hce.c b/usr.sbin/relayd/hce.c index 75b6f3c838b..e4db3c96c91 100644 --- a/usr.sbin/relayd/hce.c +++ b/usr.sbin/relayd/hce.c @@ -1,4 +1,4 @@ -/* $OpenBSD: hce.c,v 1.81 2022/06/03 13:23:16 tb Exp $ */ +/* $OpenBSD: hce.c,v 1.82 2024/05/18 06:34:46 jsg Exp $ */ /* * Copyright (c) 2006 Pierre-Yves Ritschard @@ -30,7 +30,6 @@ #include "relayd.h" void hce_init(struct privsep *, struct privsep_proc *p, void *); -void hce_sig_handler(int sig, short, void *); void hce_launch_checks(int, short, void *); void hce_setup_events(void); void hce_disable_events(void); diff --git a/usr.sbin/relayd/relay_udp.c b/usr.sbin/relayd/relay_udp.c index e165bd7f5c1..1a4751d0d73 100644 --- a/usr.sbin/relayd/relay_udp.c +++ b/usr.sbin/relayd/relay_udp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: relay_udp.c,v 1.50 2022/12/28 21:30:18 jmc Exp $ */ +/* $OpenBSD: relay_udp.c,v 1.51 2024/05/18 06:34:46 jsg Exp $ */ /* * Copyright (c) 2007 - 2013 Reyk Floeter @@ -45,7 +45,6 @@ struct shuffle relay_shuffle; int relay_udp_socket(struct sockaddr_storage *, in_port_t, struct protocol *); -void relay_udp_request(struct rsession *); void relay_udp_timeout(int, short, void *); void relay_dns_log(struct rsession *, u_int8_t *, size_t); diff --git a/usr.sbin/relayd/relayd.h b/usr.sbin/relayd/relayd.h index ca178871a51..b5ac2d111f6 100644 --- a/usr.sbin/relayd/relayd.h +++ b/usr.sbin/relayd/relayd.h @@ -1,4 +1,4 @@ -/* $OpenBSD: relayd.h,v 1.271 2023/06/25 08:07:39 op Exp $ */ +/* $OpenBSD: relayd.h,v 1.272 2024/05/18 06:34:46 jsg Exp $ */ /* * Copyright (c) 2006 - 2016 Reyk Floeter @@ -1210,7 +1210,6 @@ void hce_notify_done(struct host *, enum host_error); /* relay.c */ void relay(struct privsep *, struct privsep_proc *); int relay_privinit(struct relay *); -void relay_notify_done(struct host *, const char *); int relay_session_cmp(struct rsession *, struct rsession *); void relay_close(struct rsession *, const char *, int); int relay_reset_event(struct rsession *, struct ctl_relay_event *); @@ -1246,8 +1245,6 @@ int relay_test(struct protocol *, struct ctl_relay_event *); void relay_calc_skip_steps(struct relay_rules *); void relay_match(struct kvlist *, struct kv *, struct kv *, struct kvtree *); -void relay_session_insert(struct rsession *); -void relay_session_remove(struct rsession *); void relay_session_publish(struct rsession *); void relay_session_unpublish(struct rsession *); -- 2.20.1