projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0618433
)
adjust fopencookie structure tag for ABI-compat
author
Rich Felker
<dalias@aerifal.cx>
Wed, 6 Dec 2017 18:14:22 +0000
(13:14 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 6 Dec 2017 18:14:22 +0000
(13:14 -0500)
stdio types use the struct tag names from glibc libio to match C++
ABI.
include/stdio.h
patch
|
blob
|
history
diff --git
a/include/stdio.h
b/include/stdio.h
index 2932c76f0ee391e1ec8d8d3ae3bc80645d43c669..7c4f9ee499bcf50bca913777c03c03ca35cfce29 100644
(file)
--- a/
include/stdio.h
+++ b/
include/stdio.h
@@
-188,7
+188,7
@@
typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
typedef int (cookie_seek_function_t)(void *, off_t *, int);
typedef int (cookie_close_function_t)(void *);
-typedef struct {
+typedef struct
_IO_cookie_io_functions_t
{
cookie_read_function_t *read;
cookie_write_function_t *write;
cookie_seek_function_t *seek;