aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorAyrton Munoz <ayrton@google.com>2022-10-25 16:39:05 +0000
committerAyrton Munoz <ayrton@google.com>2022-10-25 22:42:33 +0000
commita78f34bbcf1e95915c2471ab0bda106cacbbf63d (patch)
treeca7eb9ec28ea6621e75616b03674997afd5cf16f /lib
parent30fac2dad372a23ae2e61cd14fe65911eaa7e602 (diff)
downloadcommon-a78f34bbcf1e95915c2471ab0bda106cacbbf63d.tar.gz
Revert "lib/libc: Alias __errno_location to __geterrno"
This reverts commit cc15b8c55f329b1a37fc6c51cb4fc88bd111d458. Reason for revert: aosp/2118665 no longer uses LK's errno implementation so won't need these aliases. Change-Id: I61d42cad7172e4d579f61edf3e7ee5a846ed08c9
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/errno.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/lib/libc/errno.c b/lib/libc/errno.c
index 7978a0e7..d9b76cc5 100644
--- a/lib/libc/errno.c
+++ b/lib/libc/errno.c
@@ -22,7 +22,6 @@
*/
#include <errno.h>
-#include <lk/compiler.h>
/* completely un-threadsafe implementation of errno */
/* TODO: pull from kernel TLS or some other thread local storage */
@@ -33,5 +32,3 @@ int *__geterrno(void)
return &_errno;
}
-extern int *__errno_location(void) __WEAK_ALIAS("__geterrno");
-extern int *___errno_location(void) __WEAK_ALIAS("__geterrno");