diff options
author | phk <phk@FreeBSD.org> | 1995-12-09 20:40:43 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1995-12-09 20:40:43 +0000 |
commit | b4ab7c240eb1933d38ac085773a6728b7a7c75bc (patch) | |
tree | c2d24df88e4c082a065172c7bf2cab8233d137e0 /sys/amd64/amd64/trap.c | |
parent | 90cc40edfe0f0859120f3d58810216ff034d01b2 (diff) | |
download | FreeBSD-src-b4ab7c240eb1933d38ac085773a6728b7a7c75bc.zip FreeBSD-src-b4ab7c240eb1933d38ac085773a6728b7a7c75bc.tar.gz |
Remove various unused symbols and procedures.
Diffstat (limited to 'sys/amd64/amd64/trap.c')
-rw-r--r-- | sys/amd64/amd64/trap.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/amd64/amd64/trap.c b/sys/amd64/amd64/trap.c index 5c8a647..28c78d2 100644 --- a/sys/amd64/amd64/trap.c +++ b/sys/amd64/amd64/trap.c @@ -35,7 +35,7 @@ * SUCH DAMAGE. * * from: @(#)trap.c 7.4 (Berkeley) 5/13/91 - * $Id: trap.c,v 1.62 1995/10/28 15:38:32 phk Exp $ + * $Id: trap.c,v 1.63 1995/12/07 12:45:39 davidg Exp $ */ /* @@ -87,13 +87,13 @@ extern int trapwrite __P((unsigned addr)); extern void syscall __P((struct trapframe frame)); extern void linux_syscall __P((struct trapframe frame)); -int trap_pfault __P((struct trapframe *, int)); -void trap_fatal __P((struct trapframe *)); +static int trap_pfault __P((struct trapframe *, int)); +static void trap_fatal __P((struct trapframe *)); extern inthand_t IDTVEC(syscall); #define MAX_TRAP_MSG 27 -char *trap_msg[] = { +static char *trap_msg[] = { "", /* 0 unused */ "privileged instruction fault", /* 1 T_PRIVINFLT */ "", /* 2 unused */ @@ -457,7 +457,7 @@ out: * to be made safe are the iBCS2 code and the process tracing/ * debugging code. */ -int +static int trap_pfault(frame, usermode) struct trapframe *frame; int usermode; @@ -680,7 +680,7 @@ nogo: return((rv == KERN_PROTECTION_FAILURE) ? SIGBUS : SIGSEGV); } -void +static void trap_fatal(frame) struct trapframe *frame; { |