summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/compat/netbsd/netbsd_exec.c22
1 files changed, 2 insertions, 20 deletions
diff --git a/sys/compat/netbsd/netbsd_exec.c b/sys/compat/netbsd/netbsd_exec.c
index 843d55d9a87..513a16b5b58 100644
--- a/sys/compat/netbsd/netbsd_exec.c
+++ b/sys/compat/netbsd/netbsd_exec.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: netbsd_exec.c,v 1.8 2001/09/21 15:44:10 art Exp $ */
+/* $OpenBSD: netbsd_exec.c,v 1.9 2001/09/21 15:55:08 art Exp $ */
/* $NetBSD: svr4_exec.c,v 1.16 1995/10/14 20:24:20 christos Exp $ */
/*
@@ -52,9 +52,6 @@
#ifdef _KERN_DO_ELF64
-static void *netbsd_elf64_copyargs __P((struct exec_package *,
- struct ps_strings *, void *, void *));
-
extern char netbsd_sigcode[], netbsd_esigcode[];
extern struct sysent netbsd_sysent[];
#ifdef SYSCALL_DEBUG
@@ -74,28 +71,13 @@ struct emul emul_elf64_netbsd = {
NULL,
#endif
ELF_AUX_ENTRIES * sizeof(Aux64Info),
- netbsd_elf64_copyargs,
+ elf64_copyargs,
setregs,
exec_elf64_fixup,
netbsd_sigcode,
netbsd_esigcode,
};
-static void *
-netbsd_elf64_copyargs(pack, arginfo, stack, argp)
- struct exec_package *pack;
- struct ps_strings *arginfo;
- void *stack;
- void *argp;
-{
- AuxInfo *a;
-
- if (!(a = (AuxInfo *)elf64_copyargs(pack, arginfo, stack, argp)))
- return (NULL);
-
- return (a);
-}
-
int
netbsd_elf64_probe(p, epp, itp, pos, os)
struct proc *p;