From a78f34bbcf1e95915c2471ab0bda106cacbbf63d Mon Sep 17 00:00:00 2001 From: Ayrton Munoz Date: Tue, 25 Oct 2022 16:39:05 +0000 Subject: 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 --- lib/libc/errno.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'lib') 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 -#include /* 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"); -- cgit v1.2.3