From: mickey Date: Tue, 10 Sep 1996 05:30:45 +0000 (+0000) Subject: make compile w/ TRACE enabled X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=a64a3dcbba5503a068429168c67718ab2f44aa21;p=openbsd make compile w/ TRACE enabled --- 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