[U-Boot] [PATCH] stdio_dev.h: Drop the video section as it is unused

Tom Rini trini at konsulko.com
Thu May 3 00:32:22 UTC 2018


On Thu, May 03, 2018 at 12:38:34AM +0100, Peter Robinson wrote:
> On Wed, May 2, 2018 at 11:09 PM, Tom Rini <trini at konsulko.com> wrote:
> > With tighter build flags the fact that this header referenced
> > uchar/ushort without including what typedefs it causes warnings.  Rather
> > than add another include here, drop the section in question as it is
> > unused.
> 
> This doesn't completely fix my problem, with this patch applied I
> still get a build failure from this file this time for MAX_FILES, so
> it likely needs a "#include <stdio.h>" as well which was added via the
> include common.h in my previous patch
> 
> Error was:
> /builddir/build/BUILD/u-boot-2018.05-rc3/include/stdio_dev.h:55:26:
> error: 'MAX_FILES' undeclared here (not in a function)

If you pop in stdio.h does anything else pop up?  I'll do a v2 with a
separate patch to MAX_FILES / stdio_names (since a few places use 3
directly).  Thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20180502/117cb35f/attachment.sig>


More information about the U-Boot mailing list