aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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");