1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00
* 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:
Ulrich Drepper
2000-03-21 22:08:26 +00:00
parent cb162e13ed
commit 0bf98029cd
6 changed files with 37 additions and 46 deletions

View File

@@ -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);