aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKonstantin Belousov <kib@FreeBSD.org>2010-04-07 14:09:29 +0000
committerKonstantin Belousov <kib@FreeBSD.org>2010-04-07 14:09:29 +0000
commit6283dea5ca4c4e279dc7434788ac3205fcfe0561 (patch)
tree8df64c5c468ef4ff0dc80ebb2ec92df5265cf228
parent54d63d7b13c67f5eab462bd5f0309b89d7a355af (diff)
Notes
-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 c20e5fbd2268..56bd02ae1fae 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 5e5942b0930b..1e52eda4b648 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_ */