From: tb Date: Thu, 17 Mar 2022 18:51:56 +0000 (+0000) Subject: Drop two variable names from function prototypes. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=94dfe32363aa86cf6afa8bf7555e5a3184d9a99c;p=openbsd Drop two variable names from function prototypes. From Martin Vahlensieck --- diff --git a/sys/net/if_wg.c b/sys/net/if_wg.c index c04fe44efa5..0fa78a668a8 100644 --- a/sys/net/if_wg.c +++ b/sys/net/if_wg.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_wg.c,v 1.23 2022/03/17 18:27:56 sthen Exp $ */ +/* $OpenBSD: if_wg.c,v 1.24 2022/03/17 18:51:56 tb Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. @@ -325,7 +325,7 @@ void wg_peer_send_buf(struct wg_peer *, uint8_t *, size_t); 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 *); diff --git a/sys/net/wg_cookie.c b/sys/net/wg_cookie.c index 87a9930deff..47eb3787488 100644 --- a/sys/net/wg_cookie.c +++ b/sys/net/wg_cookie.c @@ -1,4 +1,4 @@ -/* $OpenBSD: wg_cookie.c,v 1.3 2021/03/10 10:21:48 jsg Exp $ */ +/* $OpenBSD: wg_cookie.c,v 1.4 2022/03/17 18:51:56 tb Exp $ */ /* * Copyright (C) 2015-2020 Jason A. Donenfeld . All Rights Reserved. * Copyright (C) 2019-2020 Matt Dunwoodie @@ -37,7 +37,7 @@ static void cookie_macs_mac2(struct cookie_macs *, const void *, size_t, static int cookie_timer_expired(struct timespec *, time_t, long); static void cookie_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 void ratelimit_deinit(struct ratelimit *); static void ratelimit_gc(struct ratelimit *, int); static int ratelimit_allow(struct ratelimit *, struct sockaddr *);