about summary refs log tree commit diff
path: root/misc/getauxval.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2012-05-21 11:26:24 -0700
committerRichard Henderson <rth@twiddle.net>2012-05-21 11:27:04 -0700
commit4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca (patch)
tree8462cde4127b6a6bc77ab1121ea2ec0500c427d1 /misc/getauxval.c
parentcbc00a03986c5890f0a9d2c7cdac26b7606fe98c (diff)
downloadglibc-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/getauxval.c')
-rw-r--r--misc/getauxval.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/misc/getauxval.c b/misc/getauxval.c
index a3338eedd9..bff456084e 100644
--- a/misc/getauxval.c
+++ b/misc/getauxval.c
@@ -19,8 +19,8 @@
 #include <ldsodefs.h>
 
 
-unsigned long
-__getauxval (unsigned long type)
+unsigned long int
+__getauxval (unsigned long int type)
 {
   ElfW(auxv_t) *p;