summary refs log tree commit diff
path: root/stdio-common/tmpfile.c
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2000-03-27 16:51:19 +0000
committerRoland McGrath <roland@gnu.org>2000-03-27 16:51:19 +0000
commit9010d7f86f1de3d14972c33ab17a4d7678881078 (patch)
tree4932dd9e61596135d4558e0c0659c62e3e87b08e /stdio-common/tmpfile.c
parent3e5155f85a3058f48930a03f8a383728eb0dbc20 (diff)
downloadglibc-9010d7f86f1de3d14972c33ab17a4d7678881078.tar.gz
glibc-9010d7f86f1de3d14972c33ab17a4d7678881078.tar.xz
glibc-9010d7f86f1de3d14972c33ab17a4d7678881078.zip
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
Diffstat (limited to 'stdio-common/tmpfile.c')
-rw-r--r--stdio-common/tmpfile.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/stdio-common/tmpfile.c b/stdio-common/tmpfile.c
index ccf0630fa1..c5151b8b87 100644
--- a/stdio-common/tmpfile.c
+++ b/stdio-common/tmpfile.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991,1993,1996,1997,1998,1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991,93,96,97,98,99,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
@@ -54,11 +54,10 @@ tmpfile (void)
 
 #ifdef USE_IN_LIBIO
 # undef tmpfile
-# if defined PIC && DO_VERSIONING
-default_symbol_version (__new_tmpfile, tmpfile, GLIBC_2.1);
+# include <shlib-compat.h>
+versioned_symbol (libc, __new_tmpfile, tmpfile, GLIBC_2_1);
 # else
 #  ifdef weak_alias
 weak_alias (__new_tmpfile, tmpfile)
 #  endif
-# endif
 #endif