From 45c4053b6afc960776d9fc78366ec2e281981a53 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Thu, 6 May 1999 15:33:58 +0000 Subject: 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 --- sys/sys/systm.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'sys') 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 */ -- cgit v1.2.3