|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
From 2488d31f5a946e63e40058baf29fd2991343ea6f Mon Sep 17 00:00:00 2001
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
From: Rich Felker <dalias@aerifal.cx>
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
Date: Wed, 6 Dec 2017 13:14:22 -0500
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
Subject: adjust fopencookie structure tag for ABI-compat
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
stdio types use the struct tag names from glibc libio to match C++
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
ABI.
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
include/stdio.h | 2 +-
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
diff
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
index 2932c76..7c4f9ee 100644
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
+++ b/include/stdio.h
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
@@ -188,7 +188,7 @@ typedef ssize_t (cookie_write_function_t)(void *, const char *, size_t);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
typedef int (cookie_seek_function_t)(void *, off_t *, int);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
typedef int (cookie_close_function_t)(void *);
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
-typedef struct {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
+typedef struct _IO_cookie_io_functions_t {
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
cookie_read_function_t *read;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
cookie_write_function_t *write;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
cookie_seek_function_t *seek;
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
--
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
cgit v0.11.2
|
|
Lucio Andrés Illanes Albornoz (arab, vxp) |
ff26b5 |
|