compat/svr4* is gone - adapt

This commit is contained in:
martin 2018-12-19 16:27:26 +00:00
parent 2dc6cf1f07
commit b18e79c6bb

View File

@ -1,4 +1,4 @@
/* $NetBSD: setemul.c,v 1.29 2011/04/26 16:57:42 joerg Exp $ */
/* $NetBSD: setemul.c,v 1.30 2018/12/19 16:27:26 martin Exp $ */
/*-
* Copyright (c) 2000 The NetBSD Foundation, Inc.
@ -62,7 +62,7 @@
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: setemul.c,v 1.29 2011/04/26 16:57:42 joerg Exp $");
__RCSID("$NetBSD: setemul.c,v 1.30 2018/12/19 16:27:26 martin Exp $");
#endif /* not lint */
#include <sys/param.h>
@ -89,8 +89,6 @@ __RCSID("$NetBSD: setemul.c,v 1.29 2011/04/26 16:57:42 joerg Exp $");
#include "../../sys/compat/osf1/osf1_syscall.h"
#include "../../sys/compat/sunos32/sunos32_syscall.h"
#include "../../sys/compat/sunos/sunos_syscall.h"
#include "../../sys/compat/svr4/svr4_syscall.h"
#include "../../sys/compat/svr4_32/svr4_32_syscall.h"
#include "../../sys/compat/ultrix/ultrix_syscall.h"
#ifdef __m68k__
#include "../../sys/compat/aoutm68k/aoutm68k_syscall.h"
@ -107,21 +105,17 @@ __RCSID("$NetBSD: setemul.c,v 1.29 2011/04/26 16:57:42 joerg Exp $");
#include "../../sys/compat/osf1/osf1_syscalls.c"
#include "../../sys/compat/sunos/sunos_syscalls.c"
#include "../../sys/compat/sunos32/sunos32_syscalls.c"
#include "../../sys/compat/svr4/svr4_syscalls.c"
#include "../../sys/compat/svr4_32/svr4_32_syscalls.c"
#include "../../sys/compat/ultrix/ultrix_syscalls.c"
#ifdef __m68k__
#include "../../sys/compat/aoutm68k/aoutm68k_syscalls.c"
#endif
#include "../../sys/compat/svr4/svr4_errno.c"
#include "../../sys/compat/ibcs2/ibcs2_errno.c"
#include "../../sys/compat/osf1/osf1_errno.c"
#include "../../sys/compat/linux/common/linux_errno.c"
#undef KTRACE
#define SIGRTMIN 33 /* XXX */
#include "../../sys/compat/svr4/svr4_signo.c"
#include "../../sys/compat/ibcs2/ibcs2_signo.c"
#include "../../sys/compat/osf1/osf1_signo.c"
#include "../../sys/compat/linux/common/linux_signo.c"
@ -166,14 +160,6 @@ const struct emulation emulations[] = {
NULL, 0,
NULL, 0, 0 },
{ "svr4", svr4_syscallnames, SVR4_SYS_MAXSYSCALL,
native_to_svr4_errno, NELEM(native_to_svr4_errno),
svr4_to_native_signo, NSIG, 0 },
{ "svr4_32", svr4_syscallnames, SVR4_SYS_MAXSYSCALL,
native_to_svr4_errno, NELEM(native_to_svr4_errno),
svr4_to_native_signo, NSIG, EMUL_FLAG_NETBSD32 },
{ "ultrix", ultrix_syscallnames, ULTRIX_SYS_MAXSYSCALL,
NULL, 0,
NULL, 0, 0 },