aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-31 09:56:50 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-31 09:56:50 +0000
commit1d2b6e0c1fc977ff82cef59e9a57444552e82925 (patch)
tree9334405d8b2952c52f7dd7038b79122e2d26590b
parente9395a94c376e04d6d9d3be8a8f7f79c25d41992 (diff)
downloadglibc-1d2b6e0c1fc977ff82cef59e9a57444552e82925.zip
glibc-1d2b6e0c1fc977ff82cef59e9a57444552e82925.tar.gz
glibc-1d2b6e0c1fc977ff82cef59e9a57444552e82925.tar.bz2
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.
-rw-r--r--ChangeLog5
-rw-r--r--libio/genops.c4
-rw-r--r--libio/libioP.h4
3 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 91407ed..c89b08e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2002-12-31 Ulrich Drepper <drepper@redhat.com>
+ * 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));