diff options
author | Elliott Hughes <enh@google.com> | 2017-06-13 14:43:53 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2017-06-13 16:02:07 -0700 |
commit | e452cb1ff30b3539dc66a18e9b59fe5e8d337ecc (patch) | |
tree | 60593768f5b380f5a3a45caa026ea9cb208876c0 /libc/async_safe/async_safe_log.cpp | |
parent | 15eaaddef9fffda1209e9cc576b47b0f6e0cb379 (diff) |
Remove `volatile` from the `__errno` declaration.
This breaks code that declares `errno` itself for whatever crazy reason:
b.c:22:12: error: conflicting types for '__errno'
extern int errno;
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:47:20: note: expanded from macro 'errno'
#define errno (*__errno())
^
/usr/local/google/ndkports/toolchain/bin/../sysroot/usr/include/errno.h:44:15: note: previous declaration is here
volatile int* __errno(void) __attribute_const__;
^
Bug: N/A
Test: built various bits of GNU source
Change-Id: I27c03bf3bde419a001f98f1ea6c267c847f31271
Diffstat (limited to 'libc/async_safe/async_safe_log.cpp')
0 files changed, 0 insertions, 0 deletions