diff options
author | Wolfgang Denk <wd@denx.de> | 2010-06-20 02:16:44 +0200 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-06-20 02:21:58 +0200 |
commit | 9312bba01a41191f20821b66b84b3ff1d2902e8a (patch) | |
tree | e9392a2a8fd688aad98b6f03d149dc19034d28b2 /lib | |
parent | cd040a4953e55efe89dc3af4acf0302d5923026f (diff) | |
download | u-boot-imx-9312bba01a41191f20821b66b84b3ff1d2902e8a.zip u-boot-imx-9312bba01a41191f20821b66b84b3ff1d2902e8a.tar.gz u-boot-imx-9312bba01a41191f20821b66b84b3ff1d2902e8a.tar.bz2 |
include/compiler.h: remove redundant declaration of errno
Commit 37566090 "compiler.h: unify system ifdef cruft here" added both
a "#include <errno.h>" and a "extern int errno;" to include/compiler.h
which is causing build warnings for some systems, for example for the
"netstar" board:
In file included from /home/wd/git/u-boot/work/lib/crc32.c:15:
include/compiler.h:28: warning: function declaration isn't a prototype
The declaration of "errno" should be redundant, as <errno.h> is
supposed to provide a correct declaration, so drop it.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions