Re: [PATCH v2] Wrap BFD headers in extern "C"

Alan Modra
2015-02-11T00:36:31Z

On Tue, Feb 10, 2015 at 12:05:03PM +0000, Pedro Alves wrote:
> bfd/doc/ChangeLog:
> 2015-02-10 Pedro Alves <palves@redhat.com>
>
> * Makefile.am (libbfd.h, libcoff.h): Close extern "C" scope.
> * Makefile.in: Regenerate.
>
> bfd/ChangeLog:
> 2015-02-10 Pedro Alves <palves@redhat.com>
>
> * libbfd-in.h [__cplusplus]: Open extern "C" scope.
> * libcoff-in.h [__cplusplus]: Open extern "C" scope.
> * libbfd.h: Regenerate.
> * libcoff.h: Regenerate.
>
> * elf-bfd.h [__cplusplus]: Wrap in extern "C".
> * mach-o.h [__cplusplus]: Wrap in extern "C".
> * som.h [__cplusplus]: Wrap in extern "C".

Looks fine to me.

--
Alan Modra
Australia Development Lab, IBM