Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 10 Jul 2021 11:47:07 GMT
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 55e63ed307fb - main - x86: use ANSI C definition style for trap_fatal
Message-ID:  <202107101147.16ABl7gl048378@gitrepo.freebsd.org>

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

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

commit 55e63ed307fb099722cf6d30a18c9badab9b5d03
Author:     Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2021-07-10 10:59:32 +0000
Commit:     Konstantin Belousov <kib@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@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;



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