git: c5658876b416 - main - amd64/ia32/ia32_signal.c: Use ANSI C functions definitions

From: Konstantin Belousov <kib_at_FreeBSD.org>
Date: Sat, 13 Nov 2021 17:32:20 UTC
The branch main has been updated by kib:

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

commit c5658876b416c1f8206bd8d269af85239e8467aa
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-11-12 17:11:22 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2021-11-13 17:31:53 +0000

    amd64/ia32/ia32_signal.c: Use ANSI C functions definitions
    
    Remove MPSAFE annotations.
    
    Sponsored by:   The FreeBSD Foundation
    MFC after:      3 days
---
 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;