From 50080a29f7327fcd009344844bb9e643b2d6b9c3 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 19 Jun 2019 12:47:53 -0700 Subject: 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 --- libc/stdio/stdio.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'libc/stdio/stdio.cpp') 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) -- cgit v1.2.3