diff options
author | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-21 15:55:09 +0000 |
---|---|---|
committer | Artur Grabowski <art@cvs.openbsd.org> | 2001-09-21 15:55:09 +0000 |
commit | c26ac48c82f8983a867acd11d4079b77765a0db9 (patch) | |
tree | 7dea0ac5ea59f5fe3b6e6d53456b877e54d5ec23 /sys | |
parent | 6545305000545b4558814a91de8ba80cb14ffae0 (diff) |
Unnecessary wrapper.
Diffstat (limited to 'sys')
-rw-r--r-- | sys/compat/netbsd/netbsd_exec.c | 22 |
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; |