aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorConrad Meyer <cem@FreeBSD.org>2016-05-12 22:13:12 +0000
committerConrad Meyer <cem@FreeBSD.org>2016-05-12 22:13:12 +0000
commit9183be81a7999622ed298f0fbc19bdf3de7d091b (patch)
tree2cffeac9c49f9c55ed286da2d163887e3cb484ae /include
parent90abdc2dd7670099ea0bd88c5735c1ef6187223b (diff)
Notes
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/stdio.h b/include/stdio.h
index bbeb2a271ece9..f16f644714785 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -432,10 +432,10 @@ FILE *funopen(const void *,
#define fropen(cookie, fn) funopen(cookie, fn, 0, 0, 0)
#define fwopen(cookie, fn) funopen(cookie, 0, fn, 0, 0)
-typedef ssize_t (cookie_read_function_t)(void *, char *, size_t);
-typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
-typedef int (cookie_seek_function_t)(void *, off64_t *, int);
-typedef int (cookie_close_function_t)(void *);
+typedef __ssize_t cookie_read_function_t(void *, char *, size_t);
+typedef __ssize_t cookie_write_function_t(void *, const char *, size_t);
+typedef int cookie_seek_function_t(void *, off64_t *, int);
+typedef int cookie_close_function_t(void *);
typedef struct {
cookie_read_function_t *read;
cookie_write_function_t *write;