projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
math: move x87-family fabs functions to C with inline asm
[musl]
/
src
/
errno
/
__errno_location.c
diff --git
a/src/errno/__errno_location.c
b/src/errno/__errno_location.c
index
7172a1b
..
7f9d602
100644
(file)
--- a/
src/errno/__errno_location.c
+++ b/
src/errno/__errno_location.c
@@
-1,6
+1,9
@@
+#include <errno.h>
#include "pthread_impl.h"
int *__errno_location(void)
{
return &__pthread_self()->errno_val;
}
+
+weak_alias(__errno_location, ___errno_location);