Extend the #ifdef M68040 so that the `sig' variable declaration is moved
in as well, as it's otherwise not used.
This commit is contained in:
parent
9f580c69ba
commit
ce7ac04a96
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: trap.c,v 1.73 2003/10/31 16:44:35 cl Exp $ */
|
||||
/* $NetBSD: trap.c,v 1.74 2003/11/02 15:55:16 he Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1982, 1986, 1990 The Regents of the University of California.
|
||||
@ -77,7 +77,7 @@
|
||||
*/
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.73 2003/10/31 16:44:35 cl Exp $");
|
||||
__KERNEL_RCSID(0, "$NetBSD: trap.c,v 1.74 2003/11/02 15:55:16 he Exp $");
|
||||
|
||||
#include "opt_ddb.h"
|
||||
#include "opt_execfmt.h"
|
||||
@ -227,8 +227,8 @@ userret(l, fp, oticks, faultaddr, fromtrap)
|
||||
int fromtrap;
|
||||
{
|
||||
struct proc *p = l->l_proc;
|
||||
int sig;
|
||||
#ifdef M68040
|
||||
int sig;
|
||||
int beenhere = 0;
|
||||
|
||||
again:
|
||||
|
Loading…
Reference in New Issue
Block a user