summaryrefslogtreecommitdiff
path: root/libc/stdio/stdio.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <gbiv@google.com>2018-02-06 12:51:31 -0800
committerGeorge Burgess IV <gbiv@google.com>2018-02-06 13:35:56 -0800
commit90242350053e6fd2c03640d3f9b37864d18c414d (patch)
tree86bd08eae994cc61618b28520cab3ea1b423493e /libc/stdio/stdio.cpp
parent2bf1d3dae262f92dbc964be467060dc6a24787af (diff)
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
Diffstat (limited to 'libc/stdio/stdio.cpp')
-rw-r--r--libc/stdio/stdio.cpp4
1 files changed, 2 insertions, 2 deletions
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);