None of the other prototypes have argument names.
Index: if_wg.c
===
RCS file: /home/reposync/cvs/src/sys/net/if_wg.c,v
retrieving revision 1.22
diff -u -p -r1.22 if_wg.c
--- if_wg.c 22 Feb 2022 01:15:02 - 1.22
+++ if_wg.c 15 Mar 2022 21:10:37 -
@@ -325,7 +325,7 @@ voidwg_peer_send_buf(struct wg_peer *,
void wg_send_initiation(void *);
void wg_send_response(struct wg_peer *);
void wg_send_cookie(struct wg_softc *, struct cookie_macs *, uint32_t,
- struct wg_endpoint *e);
+ struct wg_endpoint *);
void wg_send_keepalive(void *);
void wg_peer_clear_secrets(void *);
void wg_handshake(struct wg_softc *, struct mbuf *);
Index: wg_cookie.c
===
RCS file: /home/reposync/cvs/src/sys/net/wg_cookie.c,v
retrieving revision 1.3
diff -u -p -r1.3 wg_cookie.c
--- wg_cookie.c 10 Mar 2021 10:21:48 - 1.3
+++ wg_cookie.c 15 Mar 2022 21:09:29 -
@@ -37,7 +37,7 @@ static void cookie_macs_mac2(struct cook
static int cookie_timer_expired(struct timespec *, time_t, long);
static voidcookie_checker_make_cookie(struct cookie_checker *,
uint8_t[COOKIE_COOKIE_SIZE], struct sockaddr *);
-static int ratelimit_init(struct ratelimit *, struct pool *pool);
+static int ratelimit_init(struct ratelimit *, struct pool *);
static voidratelimit_deinit(struct ratelimit *);
static voidratelimit_gc(struct ratelimit *, int);
static int ratelimit_allow(struct ratelimit *, struct sockaddr *);