Rename svr4_error to native_to_svr4_errno.
This commit is contained in:
parent
177a7fac85
commit
813dd6128b
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files.svr4,v 1.8 1997/07/20 20:35:47 pk Exp $
|
||||
# $NetBSD: files.svr4,v 1.9 1998/10/23 04:06:00 erh Exp $
|
||||
#
|
||||
# Config file description for machine-independent SVR4 compat code.
|
||||
# Included by ports that need it.
|
||||
|
@ -6,7 +6,7 @@
|
|||
# ports should define any machine-specific files they need in their
|
||||
# own file lists.
|
||||
|
||||
file compat/svr4/svr4_error.c compat_svr4
|
||||
file compat/svr4/svr4_errno.c compat_svr4
|
||||
file compat/svr4/svr4_exec.c compat_svr4
|
||||
file compat/svr4/svr4_fcntl.c compat_svr4
|
||||
file compat/svr4/svr4_filio.c compat_svr4
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_errno.c,v 1.6 1998/10/23 04:02:18 erh Exp $ */
|
||||
/* $NetBSD: svr4_errno.c,v 1.7 1998/10/23 04:06:00 erh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
|
@ -43,7 +43,7 @@
|
|||
#include <compat/svr4/svr4_errno.h>
|
||||
|
||||
|
||||
int svr4_error[] = {
|
||||
int native_to_svr4_errno[] = {
|
||||
0,
|
||||
SVR4_EPERM,
|
||||
SVR4_ENOENT,
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_errno.h,v 1.3 1998/09/04 19:54:37 christos Exp $ */
|
||||
/* $NetBSD: svr4_errno.h,v 1.4 1998/10/23 04:06:00 erh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
|
@ -177,4 +177,6 @@
|
|||
#define SVR4_EAUTH SVR4_ENOSYS
|
||||
#define SVR4_ENEEDAUTH SVR4_ENOSYS
|
||||
|
||||
int native_to_svr4_errno[];
|
||||
|
||||
#endif /* !_SVR4_ERRNO_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: svr4_exec.c,v 1.25 1998/09/04 19:54:37 christos Exp $ */
|
||||
/* $NetBSD: svr4_exec.c,v 1.26 1998/10/23 04:06:00 erh Exp $ */
|
||||
|
||||
/*-
|
||||
* Copyright (c) 1994 The NetBSD Foundation, Inc.
|
||||
|
@ -65,14 +65,13 @@ static void *svr4_copyargs __P((struct exec_package *, struct ps_strings *,
|
|||
void *, void *));
|
||||
|
||||
const char svr4_emul_path[] = "/emul/svr4";
|
||||
extern int svr4_error[];
|
||||
extern char svr4_sigcode[], svr4_esigcode[];
|
||||
extern struct sysent svr4_sysent[];
|
||||
extern char *svr4_syscallnames[];
|
||||
|
||||
struct emul emul_svr4 = {
|
||||
"svr4",
|
||||
svr4_error,
|
||||
native_to_svr4_errno,
|
||||
svr4_sendsig,
|
||||
SVR4_SYS_syscall,
|
||||
SVR4_SYS_MAXSYSCALL,
|
||||
|
|
Loading…
Reference in New Issue