From 90242350053e6fd2c03640d3f9b37864d18c414d Mon Sep 17 00:00:00 2001 From: George Burgess IV Date: Tue, 6 Feb 2018 12:51:31 -0800 Subject: Remove __overloadable/__RENAME_CLANG Now that we have a clang that supports transparent overloads, we can kill all of this cruft, and restore our upstream sources to their untouched glory. Woohoo! Bug: 12231437 Test: Built aosp_marlin; no obvious patch-related aosp_mips issues. Change-Id: I520a19d014f12137f80e43f973dccd6711c571cd --- libc/stdio/stdio.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libc/stdio/stdio.cpp') diff --git a/libc/stdio/stdio.cpp b/libc/stdio/stdio.cpp index d3ac0436e..e066e5b40 100644 --- a/libc/stdio/stdio.cpp +++ b/libc/stdio/stdio.cpp @@ -713,7 +713,7 @@ int fgetc_unlocked(FILE* fp) { * Return first argument, or NULL if no characters were read. * Do not return NULL if n == 1. */ -char* fgets(char* buf, int n, FILE* fp) __overloadable { +char* fgets(char* buf, int n, FILE* fp) { CHECK_FP(fp); ScopedFileLock sfl(fp); return fgets_unlocked(buf, n, fp); @@ -1031,7 +1031,7 @@ int fflush_unlocked(FILE* fp) { return __sflush(fp); } -size_t fread(void* buf, size_t size, size_t count, FILE* fp) __overloadable { +size_t fread(void* buf, size_t size, size_t count, FILE* fp) { CHECK_FP(fp); ScopedFileLock sfl(fp); return fread_unlocked(buf, size, count, fp); -- cgit v1.2.3