From 1d2b6e0c1fc977ff82cef59e9a57444552e82925 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 31 Dec 2002 09:56:50 +0000 Subject: [PATCH] Update. * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin, _IO_iter_end, _IO_iter_next, and _IO_iter_file. * libio/genops.c: Add libc_hidden_def for _IO_iter_begin, _IO_iter_end, _IO_iter_next, and _IO_iter_file. --- ChangeLog | 5 +++++ libio/genops.c | 4 ++++ libio/libioP.h | 4 ++++ 3 files changed, 13 insertions(+) diff --git a/ChangeLog b/ChangeLog index 91407ed..c89b08e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2002-12-31 Ulrich Drepper + * libio/libioP.h: Add libc_hidden_proto for _IO_iter_begin, + _IO_iter_end, _IO_iter_next, and _IO_iter_file. + * libio/genops.c: Add libc_hidden_def for _IO_iter_begin, + _IO_iter_end, _IO_iter_next, and _IO_iter_file. + * include/setjmp.h: Add libc_hidden_proto for __libc_longjmp. * sysdeps/generic/longjmp.c: Add libc_hidden_def for __longjmp. * sysdeps/unix/sysv/linux/sparc/sparc64/longjmp.S: Add diff --git a/libio/genops.c b/libio/genops.c index 14e6c0b..b6f8b39 100644 --- a/libio/genops.c +++ b/libio/genops.c @@ -1194,12 +1194,14 @@ _IO_iter_begin() { return (_IO_ITER) INTUSE(_IO_list_all); } +libc_hidden_def (_IO_iter_begin) _IO_ITER _IO_iter_end() { return NULL; } +libc_hidden_def (_IO_iter_end) _IO_ITER _IO_iter_next(iter) @@ -1207,6 +1209,7 @@ _IO_iter_next(iter) { return iter->_chain; } +libc_hidden_def (_IO_iter_next) _IO_FILE * _IO_iter_file(iter) @@ -1214,6 +1217,7 @@ _IO_iter_file(iter) { return iter; } +libc_hidden_def (_IO_iter_file) void _IO_list_lock() diff --git a/libio/libioP.h b/libio/libioP.h index 4fb0d6a..501d827 100644 --- a/libio/libioP.h +++ b/libio/libioP.h @@ -404,9 +404,13 @@ extern int _IO_seekwmark __P ((_IO_FILE *, struct _IO_marker *, int)); its lock */ extern _IO_ITER _IO_iter_begin __P ((void)); +libc_hidden_proto (_IO_iter_begin) extern _IO_ITER _IO_iter_end __P ((void)); +libc_hidden_proto (_IO_iter_end) extern _IO_ITER _IO_iter_next __P ((_IO_ITER)); +libc_hidden_proto (_IO_iter_next) extern _IO_FILE *_IO_iter_file __P ((_IO_ITER)); +libc_hidden_proto (_IO_iter_file) extern void _IO_list_lock __P ((void)); extern void _IO_list_unlock __P ((void)); extern void _IO_list_resetlock __P ((void)); -- 2.7.4