diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc/getauxval.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org> + + * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define + unused variable 'p'. + 2016-10-09 Alan Modra <amodra@gmail.com> Andreas Schwab <schwab@linux-m68k.org> diff --git a/misc/getauxval.c b/misc/getauxval.c index 61113766da..27f4be9d8b 100644 --- a/misc/getauxval.c +++ b/misc/getauxval.c @@ -23,7 +23,9 @@ unsigned long int __getauxval (unsigned long int type) { +#ifdef HAVE_AUX_VECTOR ElfW(auxv_t) *p; +#endif if (type == AT_HWCAP) return GLRO(dl_hwcap); |