From nobody Mon Oct 13 10:14:02 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4clY982LvFz6CJn9; Mon, 13 Oct 2025 10:14:04 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4clY962Htbz44Xx; Mon, 13 Oct 2025 10:14:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760350442; 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=qYTUIe00b84rV1Qk2LQKuozZ4WixpeVrh6FOQbqO330=; b=h90mqzTISHJv+Cl/l4d+VF7+5VN0Z+81044X/q/3azAUa1QojtC5EmlYDzUOPRg2c562JZ rBnuFo4lz9EI2AoBqzIe+J+tekyNQqkKSREerQhlFdjf5b4uTjiSJef6cB21j+88Qdb9B8 lVG5WILC33amg0xnU9eFn/its2UrUPqBXLxFzVk464LPRicpmKSPQrseEXGtWDHKVWccGb iIALI/q1UXV5rouh+mnkfXSnLUfuR1OXUJJGbClB2IB2U5ob7IK5R1M2fty0rcgFbPml/P DStwN/OVbHqqDPf2SLZbNTM9XAIi8BLy7jUtYqx9gqo/23PYzQ8/pU3pjVJNOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1760350442; 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=qYTUIe00b84rV1Qk2LQKuozZ4WixpeVrh6FOQbqO330=; b=qjsu11e3bmpA1zKLxNSWwmML7hRq2p+29CXEMPa1fXqa359elzbBem8U+vqOqz6UlBsP4Q jVOPCX4+z8ZxbUH1JanPgaD0KlyIoFk7FQn70gdqCJlw97urGqMQQKo+zJNWVrFJHTiiyW Uwl5fibRnhz/BnlY7BW3Me9BrCNT/hCKBBtS+wV+/lKvqZO4e+EwToqbJrW47ZlIPtWk65 OnAqsunBaau6wjQThbmFuR52e7BoPD67NWY6w91Orr/glnmYhCKfzCyoqrz+jQSbBmF1FT dGqo96RWStPBVjZ2I6IpGWEWsFDZyww2ENycCj/VDJ0IbSr2Q5JuX8mwd/R8Pg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1760350442; a=rsa-sha256; cv=none; b=SZCTVTTDbXlqMSqBFIAIng5qskXV0QyIwyr4jOgXuAxnN8EZ8zuLLADR3NUsMfJxofScoO 9PsuATGmgG3zVarRnDf+ggOVjnhA2KpsWofBL6rf2jWLCotLtOciOXfAcxNrwkdbiL0EMe yZC9RaLFQ4x8J7ZrJy8+2Q5TEcJTItNVZ2MLwfT9faekoA1gyeyieFhAZ7DN3RdbIhLC9o OiCEfWEmGEo5OO0q8MIDSex9nbCf66UCEGJgkWsKuxaKoHoQgiec6g6fB2/f+hwuL8aFNe Vdjr8pYLzOV7HI7JqI/lxfqNbdXwUC7DqTE8PWLyiGSJO0XFhmHW0E0jKjsfGA== 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 4clY961X3Dz12Zp; Mon, 13 Oct 2025 10:14:02 +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 59DAE28Z064366; Mon, 13 Oct 2025 10:14:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 59DAE2dj064363; Mon, 13 Oct 2025 10:14:02 GMT (envelope-from git) Date: Mon, 13 Oct 2025 10:14:02 GMT Message-Id: <202510131014.59DAE2dj064363@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: 0ce8c20fcd44 - main - pf: 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: 0ce8c20fcd44c1595b42fcb540913d3802edd438 Auto-Submitted: auto-generated The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=0ce8c20fcd44c1595b42fcb540913d3802edd438 commit 0ce8c20fcd44c1595b42fcb540913d3802edd438 Author: Zhenlei Huang AuthorDate: 2025-10-13 10:12:34 +0000 Commit: Zhenlei Huang CommitDate: 2025-10-13 10:12:34 +0000 pf: Use proper prototype for SYSINIT functions MFC after: 1 week --- sys/netpfil/pf/pf_ioctl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/netpfil/pf/pf_ioctl.c b/sys/netpfil/pf/pf_ioctl.c index d58af6e5ec4d..a4557f139ae5 100644 --- a/sys/netpfil/pf/pf_ioctl.c +++ b/sys/netpfil/pf/pf_ioctl.c @@ -259,7 +259,7 @@ static void dehook_pf_eth(void); static void dehook_pf(void); static int shutdown_pf(void); static int pf_load(void); -static void pf_unload(void); +static void pf_unload(void *); static struct cdevsw pf_cdevsw = { .d_ioctl = pfioctl, @@ -7082,7 +7082,7 @@ pf_unload_vnet(void) } static void -pf_unload(void) +pf_unload(void *dummy __unused) { sx_xlock(&pf_end_lock);