mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 01:12:17 +08:00
htl: move {,_IO_}f{,un,try}lockfile implementation into libc
This commit is contained in:
@@ -24,5 +24,6 @@ __flockfile (FILE *stream)
|
||||
{
|
||||
_IO_lock_lock (*stream->_lock);
|
||||
}
|
||||
libc_hidden_def(__flockfile)
|
||||
weak_alias (__flockfile, flockfile);
|
||||
weak_alias (__flockfile, _IO_flockfile)
|
||||
|
||||
@@ -25,5 +25,6 @@ __funlockfile (FILE *stream)
|
||||
{
|
||||
_IO_lock_unlock (*stream->_lock);
|
||||
}
|
||||
libc_hidden_def(__funlockfile)
|
||||
weak_alias (__funlockfile, _IO_funlockfile)
|
||||
weak_alias (__funlockfile, funlockfile);
|
||||
|
||||
Reference in New Issue
Block a user