2001-11-13 Roland McGrath <roland@frob.com>

* libio/iofopncook.c (_IO_fopencookie): Move forward declaration ...
	* libio/libioP.h: ... to here.
This commit is contained in:
Roland McGrath 2001-11-13 10:06:27 +00:00
parent f133c09767
commit c9fc9559ff
2 changed files with 4 additions and 2 deletions

View 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)

View 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;