diff options
author | Elliott Hughes <enh@google.com> | 2019-06-19 12:47:53 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2019-06-19 15:38:42 -0700 |
commit | 50080a29f7327fcd009344844bb9e643b2d6b9c3 (patch) | |
tree | 41756be57e12ffe374147c12b954cfe01b44140c /libc/stdio/stdio.cpp | |
parent | 745137c827f6e593ddf1c01783ca41a676ddd172 (diff) |
Remove the ___ hack.
Plain __ for generated syscalls didn't mean it was a hidden symbol, it
just meant "please don't use this". We added ___ to signify that a
hidden symbol should be generated, but then we added the map files
anyway so you now have to explicitly export symbols. Given that, this
convention serves no particular purpose so we may as well just use the
nicer names have everything look the same.
Test: treehugger
Change-Id: If424e17a49c36f4be545f5d283c4561a6ea9c7ea
Diffstat (limited to 'libc/stdio/stdio.cpp')
-rw-r--r-- | libc/stdio/stdio.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp index 91c7689f8..a0b421923 100644 --- a/libc/stdio/stdio.cpp +++ b/libc/stdio/stdio.cpp @@ -57,8 +57,6 @@ #include "private/ErrnoRestorer.h" #include "private/thread_private.h" -extern "C" int ___close(int fd); - #define ALIGNBYTES (sizeof(uintptr_t) - 1) #define ALIGN(p) (((uintptr_t)(p) + ALIGNBYTES) &~ ALIGNBYTES) |