summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-06 15:33:58 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>1999-05-06 15:33:58 +0000
commit45c4053b6afc960776d9fc78366ec2e281981a53 (patch)
tree5aef202724ef722ad032c1ced44a1440d4815d8e /sys
parentc18daef04b20962ff188044486ef5d2cf1e98b99 (diff)
add scdebug_{call,ret} to help SYSCALL_DEBUG compile.
remove nsysent extern declaration, since it's no longer defined anywhere, and SYS_MAXSYSCALL is used everywhere instead. niklas@ -- ok
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/systm.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/sys/sys/systm.h b/sys/sys/systm.h
index 69ba067c651..1578e855a31 100644
--- a/sys/sys/systm.h
+++ b/sys/sys/systm.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: systm.h,v 1.28 1999/04/28 09:28:17 art Exp $ */
+/* $OpenBSD: systm.h,v 1.29 1999/05/06 15:33:57 mickey Exp $ */
/* $NetBSD: systm.h,v 1.50 1996/06/09 04:55:09 briggs Exp $ */
/*-
@@ -108,9 +108,13 @@ extern struct sysent { /* system call table */
/* implementing function */
int (*sy_call) __P((struct proc *, void *, register_t *));
} sysent[];
-extern int nsysent;
#define SCARG(p,k) ((p)->k.datum) /* get arg from args pointer */
+#if defined(_KERNEL) && defined(SYSCALL_DEBUG)
+void scdebug_call __P((struct proc *p, register_t code, register_t retval[]));
+void scdebug_ret __P((struct proc *p, register_t code, int error, register_t retval[]));
+#endif /* _KERNEL && SYSCALL_DEBUG */
+
extern int boothowto; /* reboot flags, from console subsystem */
extern void (*v_putc) __P((int)); /* Virtual console putc routine */