summaryrefslogtreecommitdiff
path: root/trap.c
diff options
context:
space:
mode:
authorrsc <rsc>2006-07-17 01:58:13 +0000
committerrsc <rsc>2006-07-17 01:58:13 +0000
commitb5f17007f41770fee97fa850635976ceb7aa7492 (patch)
tree779473b174de7542e73219aed716d1c666a08a11 /trap.c
parente0966f459f5543faf9e574b7415bec2bf11e6b42 (diff)
downloadxv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.gz
xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.tar.bz2
xv6-labs-b5f17007f41770fee97fa850635976ceb7aa7492.zip
standarize on unix-like lowercase struct names
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;