mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Update.
* libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise.
This commit is contained in:
@@ -29,6 +29,7 @@
|
||||
#endif
|
||||
#if _LIBC
|
||||
# include "../iconv/gconv_int.h"
|
||||
# include <shlib-compat.h>
|
||||
#endif
|
||||
|
||||
int
|
||||
@@ -86,13 +87,6 @@ _IO_new_fclose (fp)
|
||||
return status;
|
||||
}
|
||||
|
||||
#if defined PIC && DO_VERSIONING
|
||||
versioned_symbol (libc, _IO_new_fclose, _IO_fclose, GLIBC_2_1);
|
||||
strong_alias (_IO_new_fclose, __new_fclose)
|
||||
default_symbol_version (_IO_new_fclose, _IO_fclose, GLIBC_2.1);
|
||||
default_symbol_version (__new_fclose, fclose, GLIBC_2.1);
|
||||
#else
|
||||
# ifdef weak_alias
|
||||
weak_alias (_IO_new_fclose, _IO_fclose)
|
||||
weak_alias (_IO_new_fclose, fclose)
|
||||
# endif
|
||||
#endif
|
||||
versioned_symbol (libc, __new_fclose, fclose, GLIBC_2_1);
|
||||
|
||||
Reference in New Issue
Block a user