commit | 66c4d7157090a8f4e0f08ed4b8999dd65ab9db80 | [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 | beb6bc3eba2ad329757dabd33c35dc8141aa45b6 [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>