Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/compat/sunos Make these compile with the latest execsw[]...
details: https://anonhg.NetBSD.org/src/rev/e6111e8ed1f9
branches: trunk
changeset: 499598:e6111e8ed1f9
user: scw <scw%NetBSD.org@localhost>
date: Fri Nov 24 10:21:30 2000 +0000
description:
Make these compile with the latest execsw[] changes. Someone with
SunOS binaries needs to test this...
diffstat:
sys/compat/sunos/sunos_exec.c | 4 +---
sys/compat/sunos/sunos_exec.h | 4 +++-
2 files changed, 4 insertions(+), 4 deletions(-)
diffs (36 lines):
diff -r 68b968cb3033 -r e6111e8ed1f9 sys/compat/sunos/sunos_exec.c
--- a/sys/compat/sunos/sunos_exec.c Fri Nov 24 10:10:34 2000 +0000
+++ b/sys/compat/sunos/sunos_exec.c Fri Nov 24 10:21:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_exec.c,v 1.22 2000/11/21 00:37:55 jdolecek Exp $ */
+/* $NetBSD: sunos_exec.c,v 1.23 2000/11/24 10:21:30 scw Exp $ */
/*
* Copyright (c) 1993 Theo de Raadt
@@ -109,8 +109,6 @@
error = sunos_exec_aout_prep_omagic(p, epp);
break;
}
- if (error==0)
- epp->ep_emul = &emul_sunos;
return error;
}
diff -r 68b968cb3033 -r e6111e8ed1f9 sys/compat/sunos/sunos_exec.h
--- a/sys/compat/sunos/sunos_exec.h Fri Nov 24 10:10:34 2000 +0000
+++ b/sys/compat/sunos/sunos_exec.h Fri Nov 24 10:21:30 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: sunos_exec.h,v 1.2 1998/08/09 03:12:39 mrg Exp $ */
+/* $NetBSD: sunos_exec.h,v 1.3 2000/11/24 10:21:30 scw Exp $ */
/*
* Copyright (c) 1993 Theo de Raadt
@@ -47,6 +47,8 @@
#define SUNOS_AOUT_HDR_SIZE (sizeof(struct exec))
+extern const struct emul emul_sunos;
+
int exec_sunos_aout_makecmds __P((struct proc *, struct exec_package *));
#endif /* !_SUNOS_EXEC_H_ */
Home |
Main Index |
Thread Index |
Old Index