diff options
author | Lubomir Rintel <lkundrak@v3.sk> | 2016-02-14 20:13:24 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2016-02-15 20:58:25 +0000 |
commit | ed0f40a673c42b4174ccb34e3c6d7b46cd90b701 (patch) | |
tree | 2189853d5c6b6d7f39bcd7c0bfccd71261d5ec8e /scripts/Makefile.extrawarn | |
parent | 9d313618866de521786b219e61dadcce73a46d84 (diff) | |
download | u-boot-imx-ed0f40a673c42b4174ccb34e3c6d7b46cd90b701.zip u-boot-imx-ed0f40a673c42b4174ccb34e3c6d7b46cd90b701.tar.gz u-boot-imx-ed0f40a673c42b4174ccb34e3c6d7b46cd90b701.tar.bz2 |
tools: fix env_flags build
$ make tools-all
...
In file included from tools/env/env_flags.c:1:0:
tools/env/../../common/env_flags.c: In function
‘env_flags_parse_varaccess_from_binflags’:
tools/env/../../common/env_flags.c:156:18: warning: implicit declaration
of function ‘ARRAY_SIZE’ [-Wimplicit-function-declaration]
for (i = 0; i < ARRAY_SIZE(env_flags_varaccess_mask); i++)
^
Seems like the other utilities just add a copy of ARRAY_SIZE since
there's nowhere to include it from (tools/imagetool.h,
tools/mxsimage.h). Let's do the same here.
Signed-off-by: Lubomir Rintel <lkundrak@v3.sk>
Diffstat (limited to 'scripts/Makefile.extrawarn')
0 files changed, 0 insertions, 0 deletions