ARM: Don't define _SYS_AUXV_H in sysdep.h
authorWill Newton <will.newton@linaro.org>
Thu, 11 Sep 2014 16:47:53 +0000 (17:47 +0100)
committerWill Newton <will.newton@linaro.org>
Tue, 23 Sep 2014 13:58:49 +0000 (14:58 +0100)
commitea58f202931fdf15450e54859aaea675efb93588
tree016cc49f4bae26acb19824616eb24d65a7043998
parent69eb9a183c19e8739065e430758e4d3a2c5e4f1a
ARM: Don't define _SYS_AUXV_H in sysdep.h

sysdep.h was defining _SYS_AUXV_H in order to avoid an include guard check
in hwcap.h. Unfortunately it didn't undefine it so it could leak out into
code and caused a build failure with -Wimplicit-function-declaration
building tst-auxv on ARM.

ChangeLog:

2014-09-23  Will Newton  <will.newton@linaro.org>

* sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
_LINUX_ARM_SYSDEP_H include guard too.
* sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
define.
ChangeLog
sysdeps/unix/sysv/linux/arm/bits/hwcap.h
sysdeps/unix/sysv/linux/arm/sysdep.h