From 16710d582967555671fc8f4a188bbea7432f2e7d Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Mon, 27 Mar 2000 05:18:47 +0000 Subject: * dlfcn/dlopen.c: Use macros. * dlfcn/dlopenold.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent_r.c: Likewise. * hurd/hurdinit.c: Likewise. * hurd/compat-20.c: Likewise. * libio/oldiofopen.c: Likewise. * libio/oldiofclose.c: Likewise. * libio/oldiofdopen.c: Likewise. * libio/oldfileops.c: Likewise. * libio/oldstdfiles.c: Likewise. * libio/oldiofsetpos.c: Likewise. * libio/oldiofgetpos.c: Likewise. * libio/oldiofgetpos64.c: Likewise. * libio/oldiofsetpos64.c: Likewise. * libio/oldiopopen.c: Likewise. * libio/oldpclose.c: Likewise. * libio/oldtmpfile.c: Likewise. * libio/freopen.c (freopen): Likewise. * libio/iofclose.c (_IO_new_fclose): Likewise. --- libio/oldiofsetpos.c | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'libio/oldiofsetpos.c') diff --git a/libio/oldiofsetpos.c b/libio/oldiofsetpos.c index 87a78d2eea..2637ab80f0 100644 --- a/libio/oldiofsetpos.c +++ b/libio/oldiofsetpos.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1993,95,97,98,99,2000 Free Software Foundation, Inc. This file is part of the GNU IO Library. This library is free software; you can redistribute it and/or @@ -26,6 +26,8 @@ #include #include +#include +#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2) int _IO_old_fsetpos (fp, posp) _IO_FILE *fp; @@ -53,7 +55,9 @@ _IO_old_fsetpos (fp, posp) } #ifdef weak_alias -symbol_version (_IO_old_fsetpos, _IO_fsetpos, GLIBC_2.0); +compat_symbol (libc, _IO_old_fsetpos, _IO_fsetpos, GLIBC_2_0); strong_alias (_IO_old_fsetpos, __old_fsetpos) -symbol_version (__old_fsetpos, fsetpos, GLIBC_2.0); +compat_symbol (libc, __old_fsetpos, fsetpos, GLIBC_2_0); +#endif + #endif -- cgit 1.4.1