1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-12-24 17:51:17 +03:00

Don't use GLIBC_PRIVATE errno outside of libraries

This commit is contained in:
Andreas Schwab
2013-01-28 17:51:03 +01:00
parent 542f94662e
commit 903ae060db
10 changed files with 38 additions and 14 deletions

View File

@@ -17,7 +17,7 @@
# define errno rtld_errno
extern int rtld_errno attribute_hidden;
# else
# elif !defined NOT_IN_libc || defined IN_LIB
# include <tls.h>
@@ -29,7 +29,7 @@ extern int rtld_errno attribute_hidden;
# endif
extern __thread int errno attribute_tls_model_ie;
# endif /* RTLD_PRIVATE_ERRNO */
# endif /* !NOT_IN_libc || IN_LIB */
# define __set_errno(val) (errno = (val))