summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1995-12-09 20:40:43 +0000
committerphk <phk@FreeBSD.org>1995-12-09 20:40:43 +0000
commitb4ab7c240eb1933d38ac085773a6728b7a7c75bc (patch)
treec2d24df88e4c082a065172c7bf2cab8233d137e0 /sys/kern
parent90cc40edfe0f0859120f3d58810216ff034d01b2 (diff)
downloadFreeBSD-src-b4ab7c240eb1933d38ac085773a6728b7a7c75bc.zip
FreeBSD-src-b4ab7c240eb1933d38ac085773a6728b7a7c75bc.tar.gz
Remove various unused symbols and procedures.
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/subr_trap.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 5c8a647..28c78d2 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_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;
{
OpenPOWER on IntegriCloud