commit | 27b4225b3c81aefc0ded9bf62d0873e72725664d | [log] [tgz] |
---|---|---|
author | Tom Rini <trini@konsulko.com> | Thu May 03 09:12:26 2018 -0400 |
committer | Tom Rini <trini@konsulko.com> | Sun May 06 13:35:16 2018 -0400 |
tree | 001ceb67dce389777a2e756c631074c20c0154af | |
parent | dba8070f447d9490406005b3f16f225effc85893 [diff] |
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 <pbrobinson@gmail.com> Signed-off-by: Tom Rini <trini@konsulko.com> Tested-by: Peter Robinson <pbrobinson@gmail.com>