From 0bf98029cd3f230233c48eee7f3e6d49cce37d74 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Tue, 21 Mar 2000 22:08:26 +0000 Subject: Update. * libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise. --- libio/iofclose.c | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) (limited to 'libio/iofclose.c') diff --git a/libio/iofclose.c b/libio/iofclose.c index a10ed9266f..7b8340c3bc 100644 --- a/libio/iofclose.c +++ b/libio/iofclose.c @@ -29,6 +29,7 @@ #endif #if _LIBC # include "../iconv/gconv_int.h" +# include #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); -- cgit v1.2.3