From 6768654732933083e3c6dc6a789708ec2ef7c45c Mon Sep 17 00:00:00 2001 From: jsg Date: Sun, 19 May 2024 10:39:40 +0000 Subject: [PATCH] remove prototypes with no matching function --- sbin/pfctl/pfctl.h | 4 +--- sbin/pfctl/pfctl_queue.c | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/sbin/pfctl/pfctl.h b/sbin/pfctl/pfctl.h index 3c15c7e3207..253b8242d45 100644 --- a/sbin/pfctl/pfctl.h +++ b/sbin/pfctl/pfctl.h @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl.h,v 1.62 2020/01/15 22:38:31 kn Exp $ */ +/* $OpenBSD: pfctl.h,v 1.63 2024/05/19 10:39:40 jsg Exp $ */ /* * Copyright (c) 2001 Daniel Hartmeier @@ -56,7 +56,6 @@ struct pfr_anchoritem { SLIST_HEAD(pfr_anchors, pfr_anchoritem); -int pfr_get_fd(void); int pfr_clr_tables(struct pfr_table *, int *, int); int pfr_add_tables(struct pfr_table *, int, int *, int); int pfr_del_tables(struct pfr_table *, int, int *, int); @@ -80,7 +79,6 @@ int pfr_buf_grow(struct pfr_buffer *, int); int pfr_buf_load(struct pfr_buffer *, char *, int, int); char *pf_strerror(int); int pfi_get_ifaces(const char *, struct pfi_kif *, int *); -int pfi_clr_istats(const char *, int *, int); void pfctl_print_title(char *); int pfctl_clear_tables(const char *, int); diff --git a/sbin/pfctl/pfctl_queue.c b/sbin/pfctl/pfctl_queue.c index 399f0f75a1d..1f0d456300c 100644 --- a/sbin/pfctl/pfctl_queue.c +++ b/sbin/pfctl/pfctl_queue.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfctl_queue.c,v 1.7 2019/06/28 13:32:45 deraadt Exp $ */ +/* $OpenBSD: pfctl_queue.c,v 1.8 2024/05/19 10:39:40 jsg Exp $ */ /* * Copyright (c) 2003 - 2013 Henning Brauer @@ -66,8 +66,6 @@ void pfctl_insert_queue_node(const struct pf_queuespec, struct pfctl_queue_node *pfctl_find_queue_node(const char *, const char *); void pfctl_print_queue_node(int, struct pfctl_queue_node *, int); -void print_qstats(struct queue_stats); -void pfctl_free_queue_node(struct pfctl_queue_node *); void pfctl_print_queue_nodestat(int, const struct pfctl_queue_node *); void update_avg(struct queue_stats *); -- 2.20.1