diff options
author | Roland McGrath <roland@gnu.org> | 2000-03-27 05:18:47 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2000-03-27 05:18:47 +0000 |
commit | 16710d582967555671fc8f4a188bbea7432f2e7d (patch) | |
tree | d5d70f9fa5a6fb14db92c24d6c40248f37cfd9f8 /libio/oldpclose.c | |
parent | 54f6cbb3795fbc9c65965a88e3cd2a60d05acc6d (diff) | |
download | glibc-16710d582967555671fc8f4a188bbea7432f2e7d.tar.gz glibc-16710d582967555671fc8f4a188bbea7432f2e7d.tar.xz glibc-16710d582967555671fc8f4a188bbea7432f2e7d.zip |
* dlfcn/dlopen.c: Use <shlib-compat.h> 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.
Diffstat (limited to 'libio/oldpclose.c')
-rw-r--r-- | libio/oldpclose.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/libio/oldpclose.c b/libio/oldpclose.c index dc789c055a..447f263c0d 100644 --- a/libio/oldpclose.c +++ b/libio/oldpclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1998 Free Software Foundation, Inc. +/* Copyright (C) 1998,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 @@ -23,6 +23,9 @@ other reasons why the executable file might be covered by the GNU General Public License. */ +#include <shlib-compat.h> +#if SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_1) + #define _IO_USE_OLD_IO_FILE #include "libioP.h" #include "stdio.h" @@ -41,4 +44,5 @@ __old_pclose (fp) return _IO_old_fclose (fp); } -symbol_version (__old_pclose, pclose, GLIBC_2.0); +compat_symbol (libc, __old_pclose, pclose, GLIBC_2_0); +#endif |