This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.15-980-g4a56a16


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca (commit)
      from  cbc00a03986c5890f0a9d2c7cdac26b7606fe98c (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca

commit 4a56a16205508ef7d8b0f4fc2ee36bd6c52f3cca
Author: Richard Henderson <rth@twiddle.net>
Date:   Mon May 21 11:26:24 2012 -0700

            * misc/getauxval.c (__getauxval): Use unsigned long int.
            * misc/sys/auxv.h: Include <sys/cdefs.h>.
            (getauxval): Use unsigned long int.

diff --git a/ChangeLog b/ChangeLog
index 2e2beed..0d43c48 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2012-05-21  Richard Henderson  <rth@twiddle.net>
+
+	* misc/getauxval.c (__getauxval): Use unsigned long int.
+	* misc/sys/auxv.h: Include <sys/cdefs.h>.
+	(getauxval): Use unsigned long int.
+
 2012-05-21  Roland McGrath  <roland@hack.frob.com>
 
 	* malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
diff --git a/misc/getauxval.c b/misc/getauxval.c
index a3338ee..bff4560 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;
 
diff --git a/misc/sys/auxv.h b/misc/sys/auxv.h
index a70fb37..34df04a 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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog        |    6 ++++++
 misc/getauxval.c |    4 ++--
 misc/sys/auxv.h  |    5 +++--
 3 files changed, 11 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]