aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2001-11-13 10:06:27 +0000
committerRoland McGrath <roland@gnu.org>2001-11-13 10:06:27 +0000
commitc9fc9559ffc7651ee91cf8370ddb1af79caa24c1 (patch)
tree41ce3d6d126357fba1564ef55d286009d30de920
parentf133c09767993fddcdd790a361fd11d6410a84b2 (diff)
downloadglibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.zip
glibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.tar.gz
glibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.tar.bz2
2001-11-13 Roland McGrath <roland@frob.com>
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ... * libio/libioP.h: ... to here.
-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 73346e3..39f83db 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 006362d..9a336fb 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;