* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
	_IO_list_unlock, and _IO_list_resetlock.
	* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
	_IO_list_unlock, and _IO_list_resetlock.
This commit is contained in:
Ulrich Drepper 2002-12-31 10:06:16 +00:00
parent 1d2b6e0c1f
commit 245eab025f
3 changed files with 11 additions and 0 deletions

View File

@ -1,5 +1,10 @@
2002-12-31 Ulrich Drepper <drepper@redhat.com>
* libio/libioP.h: Add libc_hidden_proto for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.
* libio/genops.c: Add libc_hidden_def for _IO_list_lock,
_IO_list_unlock, and _IO_list_resetlock.
* 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,

View File

@ -1226,6 +1226,7 @@ _IO_list_lock()
_IO_lock_lock (list_all_lock);
#endif
}
libc_hidden_def (_IO_list_lock)
void
_IO_list_unlock()
@ -1234,6 +1235,7 @@ _IO_list_unlock()
_IO_lock_unlock (list_all_lock);
#endif
}
libc_hidden_def (_IO_list_unlock)
void
_IO_list_resetlock()
@ -1242,6 +1244,7 @@ _IO_list_resetlock()
_IO_lock_init (list_all_lock);
#endif
}
libc_hidden_def (_IO_list_resetlock)
#ifdef TODO

View File

@ -412,8 +412,11 @@ 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));
libc_hidden_proto (_IO_list_lock)
extern void _IO_list_unlock __P ((void));
libc_hidden_proto (_IO_list_unlock)
extern void _IO_list_resetlock __P ((void));
libc_hidden_proto (_IO_list_resetlock)
/* Default jumptable functions. */