devicetree-compiler.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* 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

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).