Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Nov 2021 00:45:59 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: 6c34f4cd2f9e - stable/13 - amd64/ia32/ia32_signal.c: Use ANSI C functions definitions
Message-ID:  <202111160045.1AG0jx4d060313@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=6c34f4cd2f9e348416ef4addec9e4bc454653cdd

commit 6c34f4cd2f9e348416ef4addec9e4bc454653cdd
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-12 17:11:22 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-16 00:45:30 +0000

    amd64/ia32/ia32_signal.c: Use ANSI C functions definitions
    
    (cherry picked from commit c5658876b416c1f8206bd8d269af85239e8467aa)
---
 sys/amd64/ia32/ia32_signal.c | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/sys/amd64/ia32/ia32_signal.c b/sys/amd64/ia32/ia32_signal.c
index 6c879eccfc77..52a9af0f64d2 100644
--- a/sys/amd64/ia32/ia32_signal.c
+++ b/sys/amd64/ia32/ia32_signal.c
@@ -742,15 +742,9 @@ ofreebsd32_sigreturn(struct thread *td, struct ofreebsd32_sigreturn_args *uap)
 #endif
 
 #ifdef COMPAT_FREEBSD4
-/*
- * MPSAFE
- */
 int
-freebsd4_freebsd32_sigreturn(td, uap)
-	struct thread *td;
-	struct freebsd4_freebsd32_sigreturn_args /* {
-		const struct freebsd4_freebsd32_ucontext *sigcntxp;
-	} */ *uap;
+freebsd4_freebsd32_sigreturn(struct thread *td,
+    struct freebsd4_freebsd32_sigreturn_args *uap)
 {
 	struct ia32_ucontext4 uc;
 	struct trapframe *regs;
@@ -816,15 +810,8 @@ freebsd4_freebsd32_sigreturn(td, uap)
 }
 #endif	/* COMPAT_FREEBSD4 */
 
-/*
- * MPSAFE
- */
 int
-freebsd32_sigreturn(td, uap)
-	struct thread *td;
-	struct freebsd32_sigreturn_args /* {
-		const struct freebsd32_ucontext *sigcntxp;
-	} */ *uap;
+freebsd32_sigreturn(struct thread *td, struct freebsd32_sigreturn_args *uap)
 {
 	struct ia32_ucontext uc;
 	struct trapframe *regs;



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