projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix out-of-bound read processing time zone data with distant-past dates
[musl]
/
src
/
misc
/
getauxval.c
diff --git
a/src/misc/getauxval.c
b/src/misc/getauxval.c
index
b846c80
..
57f21ee
100644
(file)
--- a/
src/misc/getauxval.c
+++ b/
src/misc/getauxval.c
@@
-2,7
+2,7
@@
#include <errno.h>
#include "libc.h"
#include <errno.h>
#include "libc.h"
-unsigned long getauxval(unsigned long item)
+unsigned long
__
getauxval(unsigned long item)
{
size_t *auxv = libc.auxv;
if (item == AT_SECURE) return libc.secure;
{
size_t *auxv = libc.auxv;
if (item == AT_SECURE) return libc.secure;
@@
-11,3
+11,5
@@
unsigned long getauxval(unsigned long item)
errno = ENOENT;
return 0;
}
errno = ENOENT;
return 0;
}
+
+weak_alias(__getauxval, getauxval);