diff options
author | dim <dim@FreeBSD.org> | 2017-01-25 19:16:24 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2017-01-25 19:16:24 +0000 |
commit | 5bf9dad6e5891374fcc29e7dd723455d287e9330 (patch) | |
tree | 2178ae275267678bcd37ee15c11d18f6b3d2553e /sys/boot/libstand32 | |
parent | af7ada314f5c33fe09af79b74bde7e0d2594a449 (diff) | |
download | FreeBSD-src-5bf9dad6e5891374fcc29e7dd723455d287e9330.zip FreeBSD-src-5bf9dad6e5891374fcc29e7dd723455d287e9330.tar.gz |
MFC r311929:
Don't include <errno.h> in reloc_elf.c, as it includes <stand.h> just
after it, which has a conflicting definition of errno. This leads to
the following warning with clang 4.0.0:
In file included from sys/boot/common/reloc_elf32.c:6:
In file included from sys/boot/common/reloc_elf.c:37:
/usr/obj/usr/src/tmp/usr/include/stand.h:155:12: error: this function declaration is not a prototype [-Werror,-Wstrict-prototypes]
extern int errno;
^
sys/sys/errno.h:46:26: note: expanded from macro 'errno'
#define errno (* __error())
^
Diffstat (limited to 'sys/boot/libstand32')
0 files changed, 0 insertions, 0 deletions