aboutsummaryrefslogtreecommitdiff
path: root/libio
diff options
context:
space:
mode:
Diffstat (limited to 'libio')
-rw-r--r--libio/iofopncook.c2
-rw-r--r--libio/libioP.h4
2 files changed, 4 insertions, 2 deletions
diff --git a/libio/iofopncook.c b/libio/iofopncook.c
index 73346e31db..39f83dbe4e 100644
--- a/libio/iofopncook.c
+++ b/libio/iofopncook.c
@@ -37,8 +37,6 @@ static _IO_ssize_t _IO_cookie_write (register _IO_FILE* fp,
const void* buf, _IO_ssize_t size);
static _IO_off64_t _IO_cookie_seek (_IO_FILE *fp, _IO_off64_t offset, int dir);
static int _IO_cookie_close (_IO_FILE* fp);
-_IO_FILE * _IO_fopencookie (void *cookie, const char *mode,
- _IO_cookie_io_functions_t io_functions);
static _IO_ssize_t
_IO_cookie_read (fp, buf, size)
diff --git a/libio/libioP.h b/libio/libioP.h
index 006362d557..9a336fb0cb 100644
--- a/libio/libioP.h
+++ b/libio/libioP.h
@@ -323,6 +323,10 @@ struct _IO_cookie_file
_IO_cookie_io_functions_t __io_functions;
};
+_IO_FILE *_IO_fopencookie (void *cookie, const char *mode,
+ _IO_cookie_io_functions_t io_functions);
+
+
/* Iterator type for walking global linked list of _IO_FILE objects. */
typedef struct _IO_FILE *_IO_ITER;