git: 048606bec11f - main - perfmon(4): Use a C89 function definition for a SYSINIT.

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Thu, 20 Apr 2023 18:01:14 UTC
The branch main has been updated by jhb:

URL: https://cgit.FreeBSD.org/src/commit/?id=048606bec11f587037a5ffe6b3066ac646110b57

commit 048606bec11f587037a5ffe6b3066ac646110b57
Author:     John Baldwin <jhb@FreeBSD.org>
AuthorDate: 2023-04-20 18:00:46 +0000
Commit:     John Baldwin <jhb@FreeBSD.org>
CommitDate: 2023-04-20 18:00:46 +0000

    perfmon(4): Use a C89 function definition for a SYSINIT.
---
 sys/i386/i386/perfmon.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/sys/i386/i386/perfmon.c b/sys/i386/i386/perfmon.c
index cb8c0acfc0dc..813cb4cfd1aa 100644
--- a/sys/i386/i386/perfmon.c
+++ b/sys/i386/i386/perfmon.c
@@ -113,8 +113,7 @@ perfmon_init(void)
 }
 
 static void
-perfmon_init_dev(dummy)
-	void *dummy;
+perfmon_init_dev(void *dummy)
 {
 	make_dev(&perfmon_cdevsw, 32, UID_ROOT, GID_KMEM, 0640, "perfmon");
 }