]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - libio/oldtmpfile.c
Update.
[thirdparty/glibc.git] / libio / oldtmpfile.c
index 002fad07a56b72038eaf6404646e360de74e050c..37b52a44ab57fdd8d7ce697c1b31ee6de517a7c2 100644 (file)
@@ -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