mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-29 00:01:12 +00:00
Update for new SHLIB_COMPAT definition.
This commit is contained in:
parent
2ae13e200c
commit
d4144f187e
@ -24,7 +24,7 @@
|
||||
General Public License. */
|
||||
|
||||
#include <shlib-compat.h>
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_0)
|
||||
#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2.1)
|
||||
|
||||
#define _IO_USE_OLD_IO_FILE
|
||||
#include "libioP.h"
|
||||
@ -46,7 +46,7 @@ _IO_old_fclose (fp)
|
||||
if (fp->_vtable_offset == 0)
|
||||
return _IO_new_fclose (fp);
|
||||
|
||||
_IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);
|
||||
_IO_cleanup_region_start ((void (*) (void *)) _IO_funlockfile, fp);
|
||||
_IO_flockfile (fp);
|
||||
if (fp->_IO_file_flags & _IO_IS_FILEBUF)
|
||||
status = _IO_old_file_close_it (fp);
|
||||
|
Loading…
Reference in New Issue
Block a user