]> Git Repo - J-u-boot.git/commit - include/stdio_dev.h
stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly
authorTom Rini <[email protected]>
Thu, 3 May 2018 13:12:26 +0000 (09:12 -0400)
committerTom Rini <[email protected]>
Sun, 6 May 2018 17:35:16 +0000 (13:35 -0400)
commit27b4225b3c81aefc0ded9bf62d0873e72725664d
tree001ceb67dce389777a2e756c631074c20c0154af
parentdba8070f447d9490406005b3f16f225effc85893
stdio_names: Ensure MAX_NAMES is defined before use, don't use 3 directly

With tighter build flags the fact that <stdio_dev.h> doesn't have a
reference back to MAX_NAMES causes an error.  Include <stdio.h> here and
then in common/console.c use MAX_NAMES rather than 3 when working with
stdio_names.

Reported-by: Peter Robinson <[email protected]>
Signed-off-by: Tom Rini <[email protected]>
Tested-by: Peter Robinson <[email protected]>
common/console.c
include/stdio_dev.h
This page took 0.035328 seconds and 4 git commands to generate.