summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-10 05:30:46 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1996-09-10 05:30:46 +0000
commite95e5e79cfb7f7a31742ac141e6594928325c622 (patch)
treefee1d62a31a88bd7ff35f02a424749dc04cd0e5a
parentc3af3e354a7122dd877e346f1ab2803476713faf (diff)
make compile w/ TRACE enabled
-rw-r--r--sys/arch/i386/i386/sys_machdep.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/arch/i386/i386/sys_machdep.c b/sys/arch/i386/i386/sys_machdep.c
index bf9981887a1..f5605894600 100644
--- a/sys/arch/i386/i386/sys_machdep.c
+++ b/sys/arch/i386/i386/sys_machdep.c
@@ -83,6 +83,18 @@ int i386_set_ioperm __P((struct proc *, char *, register_t *));
#ifdef TRACE
int nvualarm;
+void
+vdoualarm(arg)
+ int arg;
+{
+ register struct proc *p;
+
+ p = pfind(arg);
+ if (p)
+ psignal(p, 16);
+ nvualarm--;
+}
+
int
sys_vtrace(p, v, retval)
struct proc *p;
@@ -93,7 +105,6 @@ sys_vtrace(p, v, retval)
syscallarg(int) request;
syscallarg(int) value;
} */ *uap = v;
- int vdoualarm();
switch (SCARG(uap, request)) {
@@ -125,17 +136,6 @@ sys_vtrace(p, v, retval)
}
return (0);
}
-
-vdoualarm(arg)
- int arg;
-{
- register struct proc *p;
-
- p = pfind(arg);
- if (p)
- psignal(p, 16);
- nvualarm--;
-}
#endif
#ifdef USER_LDT