From a64a3dcbba5503a068429168c67718ab2f44aa21 Mon Sep 17 00:00:00 2001 From: mickey Date: Tue, 10 Sep 1996 05:30:45 +0000 Subject: [PATCH] make compile w/ TRACE enabled --- sys/arch/i386/i386/sys_machdep.c | 24 ++++++++++++------------ 1 file 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 -- 2.20.1