From ecc4f71237620f73cce807a3c2df1c48b911a606 Mon Sep 17 00:00:00 2001 From: christos Date: Sun, 10 Jul 2005 04:23:30 +0000 Subject: [PATCH] define syscall again. --- sys/compat/freebsd/freebsd_exec.c | 8 ++++++-- sys/compat/pecoff/pecoff_emul.c | 8 ++++++-- sys/compat/sunos32/sunos32_exec.c | 8 ++++++-- sys/compat/ultrix/ultrix_misc.c | 8 ++++++-- 4 files changed, 24 insertions(+), 8 deletions(-) diff --git a/sys/compat/freebsd/freebsd_exec.c b/sys/compat/freebsd/freebsd_exec.c index efd6c13c9b18..450d966c18f3 100644 --- a/sys/compat/freebsd/freebsd_exec.c +++ b/sys/compat/freebsd/freebsd_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: freebsd_exec.c,v 1.28 2005/07/10 00:45:52 christos Exp $ */ +/* $NetBSD: freebsd_exec.c,v 1.29 2005/07/10 04:23:30 christos Exp $ */ /* * Copyright (c) 1993, 1994 Christopher G. Demetriou @@ -31,7 +31,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.28 2005/07/10 00:45:52 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: freebsd_exec.c,v 1.29 2005/07/10 04:23:30 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -54,6 +54,10 @@ extern const char * const freebsd_syscallnames[]; struct uvm_object *emul_freebsd_object; +#ifndef __HAVE_SYSCALL_INTERN +void syscall(void); +#endif + const struct emul emul_freebsd = { "freebsd", "/emul/freebsd", diff --git a/sys/compat/pecoff/pecoff_emul.c b/sys/compat/pecoff/pecoff_emul.c index b4e6094c1f53..41d6874afb34 100644 --- a/sys/compat/pecoff/pecoff_emul.c +++ b/sys/compat/pecoff/pecoff_emul.c @@ -1,4 +1,4 @@ -/* $NetBSD: pecoff_emul.c,v 1.13 2005/07/10 00:45:52 christos Exp $ */ +/* $NetBSD: pecoff_emul.c,v 1.14 2005/07/10 04:23:30 christos Exp $ */ /* * Copyright (c) 2000 Masaru OKI @@ -37,7 +37,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.13 2005/07/10 00:45:52 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: pecoff_emul.c,v 1.14 2005/07/10 04:23:30 christos Exp $"); /*#define DEBUG_PECOFF*/ @@ -76,6 +76,10 @@ extern char sigcode[], esigcode[]; struct uvm_object *emul_pecoff_object; #endif +#ifndef __HAVE_SYSCALL_INTERN +void syscall(void); +#endif + const struct emul emul_pecoff = { "pecoff", "/emul/pecoff", diff --git a/sys/compat/sunos32/sunos32_exec.c b/sys/compat/sunos32/sunos32_exec.c index 9753099370d3..6dca929f53da 100644 --- a/sys/compat/sunos32/sunos32_exec.c +++ b/sys/compat/sunos32/sunos32_exec.c @@ -1,4 +1,4 @@ -/* $NetBSD: sunos32_exec.c,v 1.21 2005/07/10 00:56:01 christos Exp $ */ +/* $NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $ */ /* * Copyright (c) 2001 Matthew R. Green @@ -29,7 +29,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.21 2005/07/10 00:56:01 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: sunos32_exec.c,v 1.22 2005/07/10 04:23:30 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_syscall_debug.h" @@ -52,6 +52,10 @@ extern const char * const sunos32_syscallnames[]; #endif extern char sunos_sigcode[], sunos_esigcode[]; +#ifndef __HAVE_SYSCALL_INTERN +void syscall(void); +#endif + struct uvm_object *emul_sunos32_object; const struct emul emul_sunos = { diff --git a/sys/compat/ultrix/ultrix_misc.c b/sys/compat/ultrix/ultrix_misc.c index a0951989baa9..ce0bf6248460 100644 --- a/sys/compat/ultrix/ultrix_misc.c +++ b/sys/compat/ultrix/ultrix_misc.c @@ -1,4 +1,4 @@ -/* $NetBSD: ultrix_misc.c,v 1.100 2005/07/10 00:45:52 christos Exp $ */ +/* $NetBSD: ultrix_misc.c,v 1.101 2005/07/10 04:23:30 christos Exp $ */ /* * Copyright (c) 1995, 1997 Jonathan Stone (hereinafter referred to as the author) @@ -76,7 +76,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ultrix_misc.c,v 1.100 2005/07/10 00:45:52 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ultrix_misc.c,v 1.101 2005/07/10 04:23:30 christos Exp $"); #if defined(_KERNEL_OPT) #include "opt_nfsserver.h" @@ -156,6 +156,10 @@ extern char ultrix_sigcode[], ultrix_esigcode[]; struct uvm_object *emul_ultrix_object; +#ifndef __HAVE_SYSCALL_INTERN +void syscall(void); +#endif + const struct emul emul_ultrix = { "ultrix", "/emul/ultrix",