]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
2001-11-13 Roland McGrath <roland@frob.com>
authorRoland McGrath <roland@gnu.org>
Tue, 13 Nov 2001 10:06:27 +0000 (10:06 +0000)
committerRoland McGrath <roland@gnu.org>
Tue, 13 Nov 2001 10:06:27 +0000 (10:06 +0000)
* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
* libio/libioP.h: ... to here.

libio/iofopncook.c
libio/libioP.h

index 73346e31dbe52713481788f52b520e57b61271b1..39f83dbe4e575895fb4cfeec97aa3253a486ec19 100644 (file)
@@ -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)
index 006362d5576cb445ede252d1738c0ce13eafdbf3..9a336fb0cb47142bd53e8ab1b596b1a0bb54f1c5 100644 (file)
@@ -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;