Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 Feb 2023 12:21:18 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 44a6088278ea - stable/13 - kern/sysv_ipc.c: use ANSI C function definition
Message-ID:  <202302241221.31OCLIqO059324@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by kib:

URL: https://cgit.FreeBSD.org/src/commit/?id=44a6088278ea3ae6e98b04d9863d7fdf033f26a3

commit 44a6088278ea3ae6e98b04d9863d7fdf033f26a3
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2023-02-21 14:00:22 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2023-02-24 12:20:50 +0000

    kern/sysv_ipc.c: use ANSI C function definition
    
    (cherry picked from commit 836e4b371b6eacc8a7e14cdf30fbced59c343455)
---
 sys/kern/sysv_ipc.c | 7 +------
 1 file changed, 1 insertion(+), 6 deletions(-)

diff --git a/sys/kern/sysv_ipc.c b/sys/kern/sysv_ipc.c
index 884ea9a7111f..46ec6b159ea5 100644
--- a/sys/kern/sysv_ipc.c
+++ b/sys/kern/sysv_ipc.c
@@ -56,23 +56,18 @@ void (*shmexit_hook)(struct vmspace *) = NULL;
 
 /* called from kern_fork.c */
 void
-shmfork(p1, p2)
-	struct proc *p1, *p2;
+shmfork(struct proc *p1, struct proc *p2)
 {
-
 	if (shmfork_hook != NULL)
 		shmfork_hook(p1, p2);
-	return;
 }
 
 /* called from kern_exit.c */
 void
 shmexit(struct vmspace *vm)
 {
-
 	if (shmexit_hook != NULL)
 		shmexit_hook(vm);
-	return;
 }
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202302241221.31OCLIqO059324>