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/oldiofclose.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'libio/oldiofclose.c') diff --git a/libio/oldiofclose.c b/libio/oldiofclose.c index 8ddad32b04..d9420316a9 100644 --- a/libio/oldiofclose.c +++ b/libio/oldiofclose.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993, 1995, 1997, 1998, 1999 Free Software Foundation, Inc. +/* Copyright (C) 1993,1995,1997,1998,1999,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 +#if SHLIB_COMPAT (libc, GLIBC_2_0) + #define _IO_USE_OLD_IO_FILE #include "libioP.h" #ifdef __STDC__ @@ -66,3 +69,5 @@ _IO_old_fclose (fp) strong_alias (_IO_old_fclose, __old_fclose) symbol_version (_IO_old_fclose, _IO_fclose, GLIBC_2.0); symbol_version (__old_fclose, fclose, GLIBC_2.0); + +#endif -- cgit 1.4.1