summaryrefslogtreecommitdiffstats
path: root/sys/compat/freebsd32/freebsd32_util.h
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2010-04-21 19:28:01 +0000
committerkib <kib@FreeBSD.org>2010-04-21 19:28:01 +0000
commitd4d906be00fbbec34d549204a1d34cfd1b631605 (patch)
tree62d7eeea0d4971911555aa913d9c059599967e1a /sys/compat/freebsd32/freebsd32_util.h
parent1743eb58311c8b5e2c95bb8553f620dc4539b8d8 (diff)
downloadFreeBSD-src-d4d906be00fbbec34d549204a1d34cfd1b631605.zip
FreeBSD-src-d4d906be00fbbec34d549204a1d34cfd1b631605.tar.gz
Extract the code to copy-out struct rusage32 from struct rusage
into the new function. Reviewed by: jhb MFC after: 1 week
Diffstat (limited to 'sys/compat/freebsd32/freebsd32_util.h')
-rw-r--r--sys/compat/freebsd32/freebsd32_util.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/compat/freebsd32/freebsd32_util.h b/sys/compat/freebsd32/freebsd32_util.h
index f5ccbf1..3ac676d 100644
--- a/sys/compat/freebsd32/freebsd32_util.h
+++ b/sys/compat/freebsd32/freebsd32_util.h
@@ -94,9 +94,12 @@ int syscall32_module_handler(struct module *mod, int what, void *arg);
int syscall32_helper_register(struct syscall_helper_data *sd);
int syscall32_helper_unregister(struct syscall_helper_data *sd);
-register_t *freebsd32_copyout_strings(struct image_params *imgp);
struct iovec32;
+struct rusage32;
+register_t *freebsd32_copyout_strings(struct image_params *imgp);
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);
+
#endif /* !_COMPAT_FREEBSD32_FREEBSD32_UTIL_H_ */
OpenPOWER on IntegriCloud