aboutsummaryrefslogtreecommitdiffstats
path: root/libio/oldtmpfile.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
committerUlrich Drepper <drepper@redhat.com>2000-03-21 23:09:29 +0000
commitfd091d3f3464d5e3c625ce89c83b4dd635aea678 (patch)
tree1f5bf7599dc8a4eacca0c21a8cb2afa0cb6b02e3 /libio/oldtmpfile.c
parent75836bc83df5b107d90d552506fd8b49c623cb8a (diff)
downloadtermbaud-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.gz
termbaud-fd091d3f3464d5e3c625ce89c83b4dd635aea678.tar.xz
termbaud-fd091d3f3464d5e3c625ce89c83b4dd635aea678.zip
Update.
* libio/oldtmpfile.c: Use new macros from shlib-compat.h to define versions. * libio/iofdopen.c: Likewise. * libio/iofgetpos.c: Likewise. * libio/iofgetpos64.c: Likewise. * libio/iofopen.c: Likewise. * libio/iofsetpos.c: Likewise. * libio/iofsetpos64.c: Likewise. * libio/iopopen.c: Likewise. * libio/oldiofopen.c: Likewise. * libio/pclose.c: Likewise. * sysdeps/gnu/siglist.c: Likewise. * sysdeps/unix/sysv/linux/errlist.c: Likewise.
Diffstat (limited to 'libio/oldtmpfile.c')
-rw-r--r--libio/oldtmpfile.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/libio/oldtmpfile.c b/libio/oldtmpfile.c
index 002fad07a56..37b52a44ab5 100644
--- a/libio/oldtmpfile.c
+++ b/libio/oldtmpfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 93, 96, 97, 98, 99 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1993, 1996-1999, 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
The GNU C Library is free software; you can redistribute it and/or
@@ -16,6 +16,9 @@
write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
+#include <shlib-compat.h>
+#if SHLIB_COMPAT (libc, GLIBC_2_0)
+
#define _IO_USE_OLD_IO_FILE
#include <stdio.h>
#include <unistd.h>
@@ -49,3 +52,4 @@ __old_tmpfile (void)
}
symbol_version (__old_tmpfile, tmpfile, GLIBC_2.0);
+#endif