x86: use ANSI C definition style for trap_fatal
PR: 257062 Submitted by: Vijay Sharma <vijaysh312@gmail.com> MFC after: 1 week
This commit is contained in:
parent
58080fbca0
commit
55e63ed307
@ -874,9 +874,7 @@ trap_pfault(struct trapframe *frame, bool usermode, int *signo, int *ucode)
|
||||
}
|
||||
|
||||
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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user