Skip to content
Snippets Groups Projects
Commit 27b4225b authored by Tom Rini's avatar Tom Rini
Browse files

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: default avatarPeter Robinson <pbrobinson@gmail.com>
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
Tested-by: default avatarPeter Robinson <pbrobinson@gmail.com>
parent dba8070f
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment