diff options
author | kib <kib@FreeBSD.org> | 2010-07-23 21:30:33 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2010-07-23 21:30:33 +0000 |
commit | 229b3b9c19bbd5e43dcc3aa81060069b2d4bbfbd (patch) | |
tree | 22ad4409d444be573bff34cf29e34c16184ef0f5 /sys/compat | |
parent | aa17bd87c6841106f418283b6ef59509d82dd6e5 (diff) | |
download | FreeBSD-src-229b3b9c19bbd5e43dcc3aa81060069b2d4bbfbd.zip FreeBSD-src-229b3b9c19bbd5e43dcc3aa81060069b2d4bbfbd.tar.gz |
Remove the linux_exec_copyin_args(), freebsd32_exec_copyin_args() may
server as well. COMPAT_FREEBSD32 is a prerequisite for COMPAT_LINUX32.
Reviewed by: alc
MFC after: 3 weeks
Diffstat (limited to 'sys/compat')
-rw-r--r-- | sys/compat/freebsd32/freebsd32_misc.c | 2 | ||||
-rw-r--r-- | sys/compat/freebsd32/freebsd32_util.h | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c index 534c82c..2d5c76d 100644 --- a/sys/compat/freebsd32/freebsd32_misc.c +++ b/sys/compat/freebsd32/freebsd32_misc.c @@ -265,7 +265,7 @@ freebsd32_sigaltstack(struct thread *td, * Custom version of exec_copyin_args() so that we can translate * the pointers. */ -static int +int freebsd32_exec_copyin_args(struct image_args *args, char *fname, enum uio_seg segflg, u_int32_t *argv, u_int32_t *envv) { diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h index 3ac676d..385b690 100644 --- a/sys/compat/freebsd32/freebsd32_util.h +++ b/sys/compat/freebsd32/freebsd32_util.h @@ -101,5 +101,9 @@ int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt, struct iovec **iov, int error); void freebsd32_rusage_out(const struct rusage *s, struct rusage32 *s32); +enum uio_seg; +struct image_args; +int freebsd32_exec_copyin_args(struct image_args *args, char *fname, + enum uio_seg segflg, u_int32_t *argv, u_int32_t *envv); #endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */ |