diff options
author | Will Newton <will.newton@linaro.org> | 2014-09-11 17:47:53 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-09-23 14:58:49 +0100 |
commit | ea58f202931fdf15450e54859aaea675efb93588 (patch) | |
tree | 016cc49f4bae26acb19824616eb24d65a7043998 /sysdeps/unix/sysv/linux/arm/bits | |
parent | 69eb9a183c19e8739065e430758e4d3a2c5e4f1a (diff) | |
download | glibc-ea58f202931fdf15450e54859aaea675efb93588.tar.gz glibc-ea58f202931fdf15450e54859aaea675efb93588.tar.xz glibc-ea58f202931fdf15450e54859aaea675efb93588.zip |
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.
Diffstat (limited to 'sysdeps/unix/sysv/linux/arm/bits')
-rw-r--r-- | sysdeps/unix/sysv/linux/arm/bits/hwcap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h index cd8f93cf0a..2ddc5a635e 100644 --- a/sysdeps/unix/sysv/linux/arm/bits/hwcap.h +++ b/sysdeps/unix/sysv/linux/arm/bits/hwcap.h @@ -16,7 +16,7 @@ License along with the GNU C Library; if not, see <http://www.gnu.org/licenses/>. */ -#ifndef _SYS_AUXV_H +#if !defined (_SYS_AUXV_H) && !defined (_LINUX_ARM_SYSDEP_H) # error "Never include <bits/hwcap.h> directly; use <sys/auxv.h> instead." #endif |