diff options
Diffstat (limited to 'libio/libio.h')
-rw-r--r-- | libio/libio.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libio/libio.h b/libio/libio.h index c51cad4234..d0a76c34b2 100644 --- a/libio/libio.h +++ b/libio/libio.h @@ -149,15 +149,6 @@ the executable file might be covered by the GNU General Public License. */ struct _IO_jump_t; struct _IO_FILE; -/* Define the user-visible type, with user-friendly member names. */ -typedef struct -{ - _IO_ssize_t (*read) __P ((struct _IO_FILE *, void *, _IO_ssize_t)); - _IO_ssize_t (*write) __P ((struct _IO_FILE *, const void *, _IO_ssize_t)); - _IO_fpos_t (*seek) __P ((struct _IO_FILE *, _IO_off_t, int)); - int (*close) __P ((struct _IO_FILE *)); -} _IO_cookie_io_functions_t; - /* Handle lock. */ #ifdef _IO_MTSAFE_IO #include <stdio-lock.h> @@ -236,6 +227,15 @@ extern struct _IO_FILE_plus _IO_stdin_, _IO_stdout_, _IO_stderr_; #define _IO_stderr ((_IO_FILE*)(&_IO_stderr_)) +/* Define the user-visible type, with user-friendly member names. */ +typedef struct +{ + _IO_ssize_t (*read) __P ((struct _IO_FILE *, void *, _IO_ssize_t)); + _IO_ssize_t (*write) __P ((struct _IO_FILE *, const void *, _IO_ssize_t)); + _IO_fpos_t (*seek) __P ((struct _IO_FILE *, _IO_off_t, int)); + int (*close) __P ((struct _IO_FILE *)); +} _IO_cookie_io_functions_t; + /* Special file type for fopencookie function. */ struct _IO_cookie_file { struct _IO_FILE file; |