[PATCH] opcodes: d10v: simplify header includes

Alan Modra amodra@gmail.com
Wed Nov 3 01:04:20 GMT 2021


On Sun, Oct 31, 2021 at 05:14:12AM -0400, Mike Frysinger via Binutils wrote:
> This file doesn't use anything from bfd (sysdep.h), so drop that
> include.  This avoids an implicit dependency on the generated
> config.h which can be problematic for build-time tools.
> 
> Also swap stdio.h for stddef.h.  This file isn't doing or using
> any I/O structures, but it does need NULL.

OK, thanks.

-- 
Alan Modra
Australia Development Lab, IBM


More information about the Binutils mailing list