summaryrefslogtreecommitdiffstats
path: root/sys/compat
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-03-19 10:49:03 +0000
committerkib <kib@FreeBSD.org>2010-03-19 10:49:03 +0000
commite28b3013f9d6e6d88bb1949e0ac14d56d2fb21ac (patch)
treefad0e03f6619c9a4a1cfa3eaee57de324a85e404 /sys/compat
parentb145781d4986761ace10007642728c9b9e5562d5 (diff)
downloadFreeBSD-src-e28b3013f9d6e6d88bb1949e0ac14d56d2fb21ac.zip
FreeBSD-src-e28b3013f9d6e6d88bb1949e0ac14d56d2fb21ac.tar.gz
Make freebsd32_copyiniov() available outside of freebsd32_misc.
MFC after: 2 weeks
Diffstat (limited to 'sys/compat')
-rw-r--r--sys/compat/freebsd32/freebsd32_misc.c2
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_misc.c b/sys/compat/freebsd32/freebsd32_misc.c
index c20e5fb..56bd02a 100644
--- a/sys/compat/freebsd32/freebsd32_misc.c
+++ b/sys/compat/freebsd32/freebsd32_misc.c
@@ -873,7 +873,7 @@ freebsd32_pwritev(struct thread *td, struct freebsd32_pwritev_args *uap)
return (error);
}
-static int
+int
freebsd32_copyiniov(struct iovec32 *iovp32, u_int iovcnt, struct iovec **iovp,
int error)
{
diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h
index 5e5942b..1e52eda 100644
--- a/sys/compat/freebsd32/freebsd32_util.h
+++ b/sys/compat/freebsd32/freebsd32_util.h
@@ -84,5 +84,8 @@ int syscall32_deregister(int *offset, struct sysent *old_sysent);
int syscall32_module_handler(struct module *mod, int what, void *arg);
register_t *freebsd32_copyout_strings(struct image_params *imgp);
+struct iovec32;
+int freebsd32_copyiniov(struct iovec32 *iovp, u_int iovcnt,
+ struct iovec **iov, int error);
#endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */
OpenPOWER on IntegriCloud