aboutsummaryrefslogtreecommitdiffstats
path: root/libc/include/stdio.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2014-08-18 14:45:42 -0700
committerElliott Hughes <enh@google.com>2014-10-07 11:40:09 -0700
commitd87d401ab134996d1f25f5b63cefb48b5b5877c8 (patch)
tree84a9be1d127db317e54af358a8cd31c3e940eb6d /libc/include/stdio.h
parent6c4e16f634a8ee07fc0c3cc5299c9f7f03c5f8bf (diff)
downloadandroid_bionic-d87d401ab134996d1f25f5b63cefb48b5b5877c8.tar.gz
android_bionic-d87d401ab134996d1f25f5b63cefb48b5b5877c8.tar.bz2
android_bionic-d87d401ab134996d1f25f5b63cefb48b5b5877c8.zip
Improve <sys/cdefs.h>.
Fix and use __RENAME (and lose ___RENAME --- two underscores should be enough for anybody). This was the point of this change, because I want to use __RENAME to support the two basename variants and the two strerror_r variants. Lose a bunch of macros that weren't being used. Lose three dead files from the DNS code. Bug: 17784968 (cherry picked from commit 2cfb4e8e2e217ef0e4140dcbf9b3da809781158c) Change-Id: I5e96146f92c0521248c78c0933bec5e9a9818222
Diffstat (limited to 'libc/include/stdio.h')
-rw-r--r--libc/include/stdio.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/include/stdio.h b/libc/include/stdio.h
index 43b0fbfe4..38a267771 100644
--- a/libc/include/stdio.h
+++ b/libc/include/stdio.h
@@ -412,7 +412,7 @@ int sprintf(char *dest, const char *format, ...)
#endif
extern char* __fgets_chk(char*, int, FILE*, size_t);
-extern char* __fgets_real(char*, int, FILE*) __asm__(__USER_LABEL_PREFIX__ "fgets");
+extern char* __fgets_real(char*, int, FILE*) __RENAME(fgets);
__errordecl(__fgets_too_big_error, "fgets called with size bigger than buffer");
__errordecl(__fgets_too_small_error, "fgets called with size less than zero");