There are some left-over declarations for emulsw, nemuls, emul_elf32 and
emul_elf64, all of which have been removed. Ok?
Index: kern/exec_conf.c
===================================================================
RCS file: /cvs/src/sys/kern/exec_conf.c,v
retrieving revision 1.32
diff -u -p -u -r1.32 exec_conf.c
--- kern/exec_conf.c 9 Oct 2014 04:04:27 -0000 1.32
+++ kern/exec_conf.c 5 Jul 2015 16:17:43 -0000
@@ -43,7 +43,7 @@
#include <compat/linux/linux_exec.h>
#endif
-extern struct emul emul_native, emul_elf32, emul_elf64, emul_linux_elf;
+extern struct emul emul_native, emul_linux_elf;
struct execsw execsw[] = {
{ EXEC_SCRIPT_HDRSZ, exec_script_makecmds, &emul_native, }, /*
shell scripts */
Index: sys/proc.h
===================================================================
RCS file: /cvs/src/sys/sys/proc.h,v
retrieving revision 1.199
diff -u -p -u -r1.199 proc.h
--- sys/proc.h 10 Feb 2015 05:28:18 -0000 1.199
+++ sys/proc.h 5 Jul 2015 16:17:43 -0000
@@ -117,9 +117,6 @@ struct emul {
#define EMUL_ENABLED 0x0001 /* Allow exec to continue */
#define EMUL_NATIVE 0x0002 /* Always enabled */
-extern struct emul *emulsw[]; /* All emuls in system */
-extern int nemuls; /* Number of emuls */
-
/*
* time usage: accumulated times in ticks
* One a second, each thread's immediate counts (p_[usi]ticks) are
cheers,
natano