summaryrefslogtreecommitdiff
path: root/libio/oldiofclose.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 22:08:26 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 22:08:26 +0000
commit0bf98029cd3f230233c48eee7f3e6d49cce37d74 (patch)
tree230214f73f486bb5cbafece7ab46c2787f36eb5f /libio/oldiofclose.c
parentcb162e13ed384f33f2712b4fc976e70a1fa7d9c4 (diff)
downloadglibc-0bf98029cd3f230233c48eee7f3e6d49cce37d74.tar.gz
Update.
* libio/fileops.c: Use new macros from shlib-compat.h to define versions. * libio/iofclose.c: Likewise. * libio/oldiofclose.c: Likewise.
Diffstat (limited to 'libio/oldiofclose.c')
-rw-r--r--libio/oldiofclose.c7
1 files changed, 6 insertions, 1 deletions
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 <shlib-compat.h>
+#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