diff options
author | Richard Henderson <rth@twiddle.net> | 2012-05-21 11:26:24 -0700 |
---|---|---|
committer | Richard Henderson <rth@twiddle.net> | 2012-05-21 11:27:04 -0700 |
commit | 4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca (patch) | |
tree | 8462cde4127b6a6bc77ab1121ea2ec0500c427d1 /misc/sys/auxv.h | |
parent | cbc00a03986c5890f0a9d2c7cdac26b7606fe98c (diff) | |
download | glibc-4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca.tar.gz glibc-4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca.tar.xz glibc-4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca.zip |
* misc/getauxval.c (__getauxval): Use unsigned long int.
* misc/sys/auxv.h: Include <sys/cdefs.h>. (getauxval): Use unsigned long int.
Diffstat (limited to 'misc/sys/auxv.h')
-rw-r--r-- | misc/sys/auxv.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/misc/sys/auxv.h b/misc/sys/auxv.h index a70fb37f87..34df04a6e2 100644 --- a/misc/sys/auxv.h +++ b/misc/sys/auxv.h @@ -20,14 +20,15 @@ #define _SYS_AUXV_H 1 #include <elf.h> +#include <sys/cdefs.h> #include <bits/hwcap.h> __BEGIN_DECLS /* Return the value associated with an Elf*_auxv_t type from the auxv list - passed to the program on startup. If __type was not present in the auxv + passed to the program on startup. If TYPE was not present in the auxv list, returns zero. */ -extern unsigned long getauxval (unsigned long __type) +extern unsigned long int getauxval (unsigned long int __type) __THROW __attribute_const__; __END_DECLS |