From mboxrd@z Thu Jan 1 00:00:00 1970 From: Tom Rini Date: Wed, 2 May 2018 20:32:22 -0400 Subject: [U-Boot] [PATCH] stdio_dev.h: Drop the video section as it is unused In-Reply-To: References: <1525298992-4740-1-git-send-email-trini@konsulko.com> Message-ID: <20180503003222.GL9026@bill-the-cat.ec.rr.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thu, May 03, 2018 at 12:38:34AM +0100, Peter Robinson wrote: > On Wed, May 2, 2018 at 11:09 PM, Tom Rini 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 " 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: