mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
This commit is contained in:
@ -1,5 +1,7 @@
|
|||||||
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
|
2000-03-27 Roland McGrath <roland@baalperazim.frob.com>
|
||||||
|
|
||||||
|
* stdio-common/tmpfile.c: Use <shlib-compat.h> macros.
|
||||||
|
|
||||||
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
|
* include/shlib-compat.h: Conditionalize <abi-versions.h> include
|
||||||
on [HAVE_ELF && DO_VERSIONING].
|
on [HAVE_ELF && DO_VERSIONING].
|
||||||
|
|
||||||
|
@ -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.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
@ -54,11 +54,10 @@ tmpfile (void)
|
|||||||
|
|
||||||
#ifdef USE_IN_LIBIO
|
#ifdef USE_IN_LIBIO
|
||||||
# undef tmpfile
|
# undef tmpfile
|
||||||
# if defined PIC && DO_VERSIONING
|
# include <shlib-compat.h>
|
||||||
default_symbol_version (__new_tmpfile, tmpfile, GLIBC_2.1);
|
versioned_symbol (libc, __new_tmpfile, tmpfile, GLIBC_2_1);
|
||||||
# else
|
# else
|
||||||
# ifdef weak_alias
|
# ifdef weak_alias
|
||||||
weak_alias (__new_tmpfile, tmpfile)
|
weak_alias (__new_tmpfile, tmpfile)
|
||||||
# endif
|
# endif
|
||||||
# endif
|
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user