diff options
Diffstat (limited to 'sys/compat/osf1')
-rw-r--r-- | sys/compat/osf1/files.osf1 | 4 | ||||
-rw-r--r-- | sys/compat/osf1/osf1_misc.c | 8 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/compat/osf1/files.osf1 b/sys/compat/osf1/files.osf1 index 615680275e8..4c1292ad6a2 100644 --- a/sys/compat/osf1/files.osf1 +++ b/sys/compat/osf1/files.osf1 @@ -1,4 +1,4 @@ -# $OpenBSD: files.osf1,v 1.3 1996/08/02 20:35:25 niklas Exp $ +# $OpenBSD: files.osf1,v 1.4 1999/11/10 15:55:22 mickey Exp $ # $NetBSD: files.osf1,v 1.3 1995/11/15 05:42:17 cgd Exp $ # # Config file description for machine-independent OSF/1 compat code. @@ -13,5 +13,5 @@ file compat/osf1/osf1_ioctl.c compat_osf1 file compat/osf1/osf1_misc.c compat_osf1 file compat/osf1/osf1_mount.c compat_osf1 file compat/osf1/osf1_signal.c compat_osf1 -file compat/osf1/osf1_syscalls.c compat_osf1 +file compat/osf1/osf1_syscalls.c compat_osf1 & syscall_debug file compat/osf1/osf1_sysent.c compat_osf1 diff --git a/sys/compat/osf1/osf1_misc.c b/sys/compat/osf1/osf1_misc.c index 9c1e872102d..272308b3272 100644 --- a/sys/compat/osf1/osf1_misc.c +++ b/sys/compat/osf1/osf1_misc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: osf1_misc.c,v 1.10 1998/03/01 17:00:22 niklas Exp $ */ +/* $OpenBSD: osf1_misc.c,v 1.11 1999/11/10 15:55:23 mickey Exp $ */ /* $NetBSD: osf1_misc.c,v 1.7 1995/10/07 06:53:04 mycroft Exp $ */ /* @@ -54,10 +54,10 @@ #ifdef SYSCALL_DEBUG extern int scdebug; +extern char *osf1_syscallnames[]; #endif extern struct sysent osf1_sysent[]; -extern char *osf1_syscallnames[]; extern void cpu_exec_ecoff_setregs __P((struct proc *, struct exec_package *, u_long, register_t *)); @@ -72,7 +72,11 @@ struct emul emul_osf1 = { OSF1_SYS_syscall, OSF1_SYS_MAXSYSCALL, osf1_sysent, +#ifdef SYSCALL_DEBUG osf1_syscallnames, +#else + NULL, +#endif 0, copyargs, cpu_exec_ecoff_setregs, |