mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
.
This commit is contained in:
@ -1,5 +1,4 @@
|
||||
/* Copyright (C) 1993,1994,1996,1997,2000,2002,2006
|
||||
Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993,1994,1996,1997,2000,2002 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
|
||||
@ -41,9 +40,14 @@ _IO_FILE *stderr = (FILE *) &_IO_2_1_stderr_;
|
||||
#undef _IO_stderr
|
||||
#ifdef _LIBC
|
||||
# define AL(name) AL2 (name, _IO_##name)
|
||||
# define AL2(name, al) \
|
||||
# if defined HAVE_VISIBILITY_ATTRIBUTE
|
||||
# define AL2(name, al) \
|
||||
extern __typeof (name) al __attribute__ ((alias (#name), \
|
||||
visibility ("hidden")))
|
||||
# else
|
||||
# define AL2(name, al) \
|
||||
extern __typeof (name) al __attribute__ ((alias (#name)))
|
||||
# endif
|
||||
AL(stdin);
|
||||
AL(stdout);
|
||||
AL(stderr);
|
||||
|
Reference in New Issue
Block a user