
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@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!