* libfdt: extern "C" for c++?
@ 2020-06-12 6:43 Patrick Oppenlander
[not found] ` <CAEg67Gnr08YGvX7BdOcOK0V5u0nV=pNcpE4ofKoDOyAiqRaAfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
0 siblings, 1 reply; 2+ messages in thread
From: Patrick Oppenlander @ 2020-06-12 6:43 UTC (permalink / raw)
To: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA
Hi,
I'm using libfdt from C++ and have to:
extern "C" {
#include <libfdt.h>
}
to get it to link.
Would you accept a patch which adds extern "C" to libfdt headers where
appropriate?
Thanks,
Patrick
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: libfdt: extern "C" for c++?
[not found] ` <CAEg67Gnr08YGvX7BdOcOK0V5u0nV=pNcpE4ofKoDOyAiqRaAfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
@ 2020-06-12 9:41 ` David Gibson
0 siblings, 0 replies; 2+ messages in thread
From: David Gibson @ 2020-06-12 9:41 UTC (permalink / raw)
To: Patrick Oppenlander; +Cc: devicetree-compiler-u79uwXL29TY76Z2rM5mHXA
[-- Attachment #1: Type: text/plain, Size: 519 bytes --]
On Fri, Jun 12, 2020 at 04:43:00PM +1000, Patrick Oppenlander wrote:
> Hi,
>
> I'm using libfdt from C++ and have to:
>
> extern "C" {
> #include <libfdt.h>
> }
>
> to get it to link.
>
> Would you accept a patch which adds extern "C" to libfdt headers where
> appropriate?
Uh, yeah, that should be ok.
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-06-12 9:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-06-12 6:43 libfdt: extern "C" for c++? Patrick Oppenlander
[not found] ` <CAEg67Gnr08YGvX7BdOcOK0V5u0nV=pNcpE4ofKoDOyAiqRaAfQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-06-12 9:41 ` David Gibson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).