git: 55e63ed307fb - main - x86: use ANSI C definition style for trap_fatal
Konstantin Belousov
kib at FreeBSD.org
Sat Jul 10 11:47:07 UTC 2021
The branch main has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=55e63ed307fb099722cf6d30a18c9badab9b5d03
commit 55e63ed307fb099722cf6d30a18c9badab9b5d03
Author: Konstantin Belousov <kib at FreeBSD.org>
AuthorDate: 2021-07-10 10:59:32 +0000
Commit: Konstantin Belousov <kib at FreeBSD.org>
CommitDate: 2021-07-10 11:46:53 +0000
x86: use ANSI C definition style for trap_fatal
PR: 257062
Submitted by: Vijay Sharma <vijaysh312 at gmail.com>
MFC after: 1 week
---
sys/amd64/amd64/trap.c | 4 +---
sys/i386/i386/trap.c | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c
index a60b17cf554f..55649687ce50 100644
--- a/sys/amd64/amd64/trap.c
+++ b/sys/amd64/amd64/trap.c
@@ -874,9 +874,7 @@ after_vmfault:
}
static void
-trap_fatal(frame, eva)
- struct trapframe *frame;
- vm_offset_t eva;
+trap_fatal(struct trapframe *frame, vm_offset_t eva)
{
int code, ss;
u_int type;
diff --git a/sys/i386/i386/trap.c b/sys/i386/i386/trap.c
index 6fd2a1393761..045478149be5 100644
--- a/sys/i386/i386/trap.c
+++ b/sys/i386/i386/trap.c
@@ -875,9 +875,7 @@ trap_pfault(struct trapframe *frame, bool usermode, vm_offset_t eva,
}
static void
-trap_fatal(frame, eva)
- struct trapframe *frame;
- vm_offset_t eva;
+trap_fatal(struct trapframe *frame, vm_offset_t eva)
{
int code, ss, esp;
u_int type;
More information about the dev-commits-src-all
mailing list