summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
Diffstat (limited to 'trap.c')
-rw-r--r--trap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/trap.c b/trap.c
index 38baee0..ccbc754 100644
--- a/trap.c
+++ b/trap.c
@@ -7,7 +7,7 @@
#include "traps.h"
#include "syscall.h"
-struct Gatedesc idt[256];
+struct gatedesc idt[256];
extern uint vectors[]; /* vectors.S, array of 256 entry point addresses */
extern void trapenter(void);
@@ -31,7 +31,7 @@ idtinit(void)
}
void
-trap(struct Trapframe *tf)
+trap(struct trapframe *tf)
{
int v = tf->trapno;