mirror of git://git.musl-libc.org/musl
adjust fopencookie structure tag for ABI-compat
stdio types use the struct tag names from glibc libio to match C++ ABI.
This commit is contained in:
parent
061843340f
commit
2488d31f5a
|
@ -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_seek_function_t)(void *, off_t *, int);
|
||||||
typedef int (cookie_close_function_t)(void *);
|
typedef int (cookie_close_function_t)(void *);
|
||||||
|
|
||||||
typedef struct {
|
typedef struct _IO_cookie_io_functions_t {
|
||||||
cookie_read_function_t *read;
|
cookie_read_function_t *read;
|
||||||
cookie_write_function_t *write;
|
cookie_write_function_t *write;
|
||||||
cookie_seek_function_t *seek;
|
cookie_seek_function_t *seek;
|
||||||
|
|
Loading…
Reference in New Issue