it@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760350436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UpEKPspeZEq2oTDoorxxkDhlz0SljNKMeBhSATcNUdU=; b=UNZsKSvwAtLttUe8t1qWoYMJUYwT+lHOjjFS5rAX9z3NXif72mcjE7xXKMDBas3lq8ME99 PLP3IRi9C56lxGuoyD3d7xxOKLsIALF6urzXS71H5BDuv3rnaEZeyYBHmBUweG1UlfPXhy s44mhyopDuV9fkYHYPrOM7+jUj9mvMVwvr8xGMBK4hNy96jWhqOa7BSQLL+jwOeTTlqPuO Qbru3s6iBL9oiWUgbh6o1beFxBu1CiW/irvQTpfl84DGWYDhHdyCSehpADNkMJRjlmvLkw HKcDsgG7Z5cHePH6Q/Rwj1nllox5YVHg1/P7Nu5sBMUo8QMNY02C1b/qhAdq9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760350436; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=UpEKPspeZEq2oTDoorxxkDhlz0SljNKMeBhSATcNUdU=; b=LL6MpLG6LPfiuRZzjB4YLevR2eHnq3TtZkcBK56FpLyYD3mZ9KR7GwviJiwJE8YRO6NxH+ vdLUXHv9HOfzxmKsLRstnFvMfTI1hmrBwu6wF8eRnSOJBC43kB0G2nsFA5wq5FyiQbXYhB CsYk3o+1GK8q/sV5e7LxCA6EacCuyzUMx1ZbgqZ9nH5mGS/TYX1dklI3AZpikNeEv0n/27 WeF2t2dYv6hm6ec8QnYgnW/bO5JSdvJ7UMo8UADP99AUtCcEmVZEVqrYSUA+WGKzLqA58R 8UObeDth6IpmzqPJrd9UBt7A9fZBZrffFDbRA5qu7LaQOoGwt8BHIR10ekimmg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760350436; a=rsa-sha256; cv=none; b=W1LERKmEqkXznJQx8eu2HCD5ASWfM/DExtTvPg2IsySkYi+ywa1USFe9294Fbykmas+/YM A6lc1/y5fe5QraNOe9De098YpHpn0bNBMkN6fyrguXXp2Yz1+o+3SIvYevhykY/hWHAkyU gwxEnpOEZYagKn8dCTtL7bLLfNRYc04JlgAfaZcnikj5L1vk01yWfVWURPLcjiC2Fa6aSA R5Ket1tcdIBSeIl1Wbhi8GABuccwvfE7dYheJgCjyxJGVWKj9e+mUBMYAY+BcRCf2mjwo3 HaMFehtyfTBj+Py8pPKH0Ca/pcaTe8+Cfu/ZpbnwvNXsYCZggmllSVfFl238lQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4clY903yP2z12q9; Mon, 13 Oct 2025 10:13:56 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 59DADuEQ064176; Mon, 13 Oct 2025 10:13:56 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59DADuYI064173; Mon, 13 Oct 2025 10:13:56 GMT (envelope-from git) Date: Mon, 13 Oct 2025 10:13:56 GMT Message-Id: <202510131013.59DADuYI064173@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Zhenlei Huang Subject: git: 7449e59110b8 - main - net80211: Use proper prototype for SYSINIT functions List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: zlei X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 7449e59110b8abbb3d647c3565ca3de1d21b2c84 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=7449e59110b8abbb3d647c3565ca3de1d21b2c84 commit 7449e59110b8abbb3d647c3565ca3de1d21b2c84 Author: Zhenlei Huang AuthorDate: 2025-10-13 10:12:32 +0000 Commit: Zhenlei Huang CommitDate: 2025-10-13 10:12:32 +0000 net80211: Use proper prototype for SYSINIT functions MFC after: 1 week --- sys/net80211/ieee80211_ht.c | 2 +- sys/net80211/ieee80211_hwmp.c | 2 +- sys/net80211/ieee80211_mesh.c | 2 +- sys/net80211/ieee80211_phy.c | 2 +- sys/net80211/ieee80211_proto.c | 2 +- sys/net80211/ieee80211_vht.c | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/sys/net80211/ieee80211_ht.c b/sys/net80211/ieee80211_ht.c index 3af56a228295..a8a767785fce 100644 --- a/sys/net80211/ieee80211_ht.c +++ b/sys/net80211/ieee80211_ht.c @@ -167,7 +167,7 @@ static ieee80211_send_action_func ht_send_action_ba_delba; static ieee80211_send_action_func ht_send_action_ht_txchwidth; static void -ieee80211_ht_init(void) +ieee80211_ht_init(void *dummy __unused) { /* * Setup HT parameters that depends on the clock frequency. diff --git a/sys/net80211/ieee80211_hwmp.c b/sys/net80211/ieee80211_hwmp.c index b69210768c54..084e67da13db 100644 --- a/sys/net80211/ieee80211_hwmp.c +++ b/sys/net80211/ieee80211_hwmp.c @@ -212,7 +212,7 @@ SYSCTL_PROC(_net_wlan_hwmp, OID_AUTO, inact, "mesh route inactivity timeout (ms)"); static void -ieee80211_hwmp_init(void) +ieee80211_hwmp_init(void *dummy __unused) { /* Default values as per amendment */ ieee80211_hwmp_pathtimeout = msecs_to_ticks(5*1000); diff --git a/sys/net80211/ieee80211_mesh.c b/sys/net80211/ieee80211_mesh.c index 3f0410a69e3c..7f2e8bdcb963 100644 --- a/sys/net80211/ieee80211_mesh.c +++ b/sys/net80211/ieee80211_mesh.c @@ -548,7 +548,7 @@ mesh_gatemode_cb(void *arg) } static void -ieee80211_mesh_init(void) +ieee80211_mesh_init(void *dummy __unused) { memset(mesh_proto_paths, 0, sizeof(mesh_proto_paths)); diff --git a/sys/net80211/ieee80211_phy.c b/sys/net80211/ieee80211_phy.c index 7f53c717152b..b4d9b16907d2 100644 --- a/sys/net80211/ieee80211_phy.c +++ b/sys/net80211/ieee80211_phy.c @@ -348,7 +348,7 @@ ieee80211_setup_ratetable(struct ieee80211_rate_table *rt) /* Setup all rate tables */ static void -ieee80211_phy_init(void) +ieee80211_phy_init(void *dummy __unused) { static struct ieee80211_rate_table * const ratetables[] = { &ieee80211_half_table, diff --git a/sys/net80211/ieee80211_proto.c b/sys/net80211/ieee80211_proto.c index 0c161d98a55a..4918bf7d025f 100644 --- a/sys/net80211/ieee80211_proto.c +++ b/sys/net80211/ieee80211_proto.c @@ -459,7 +459,7 @@ static const struct ieee80211_authenticator auth_internal = { * Setup internal authenticators once; they are never unregistered. */ static void -ieee80211_auth_setup(void) +ieee80211_auth_setup(void *dummy __unused) { ieee80211_authenticator_register(IEEE80211_AUTH_OPEN, &auth_internal); ieee80211_authenticator_register(IEEE80211_AUTH_SHARED, &auth_internal); diff --git a/sys/net80211/ieee80211_vht.c b/sys/net80211/ieee80211_vht.c index 10a5fc7f08ab..095c4108c768 100644 --- a/sys/net80211/ieee80211_vht.c +++ b/sys/net80211/ieee80211_vht.c @@ -102,7 +102,7 @@ vht_send_action_placeholder(struct ieee80211_node *ni, } static void -ieee80211_vht_init(void) +ieee80211_vht_init(void *dummy __unused) { ieee80211_recv_action_register(IEEE80211_ACTION_CAT_VHT,