diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-10 15:55:25 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1999-11-10 15:55:25 +0000 |
commit | 714819a2c2535daa62112e50f032b5b2e0e8716c (patch) | |
tree | 55f89dd41209d825787bd972b1497ffb4707d6d7 /sys/compat/osf1/osf1_misc.c | |
parent | c8d2e51bd7a0619de056d282d236c87a31ae36db (diff) |
include syscallnames only if compiling w/ SYSCALL_DEBUG.
was already so for native and sunos, the rest was just
wasting space on it. niels@ millert@ ok
Diffstat (limited to 'sys/compat/osf1/osf1_misc.c')
-rw-r--r-- | sys/compat/osf1/osf1_misc.c | 8 |
1 files changed, 6 insertions, 2 deletions
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, |