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:
@@ -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))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user