about summary refs log tree commit diff
path: root/libio
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 /libio
parentf133c09767993fddcdd790a361fd11d6410a84b2 (diff)
downloadglibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.tar.gz
glibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.tar.xz
glibc-c9fc9559ffc7651ee91cf8370ddb1af79caa24c1.zip
2001-11-13 Roland McGrath <roland@frob.com>
	* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
	* libio/libioP.h: ... to here.
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;