From 96a70614507b75def9baf590dcac91ed88c268ff Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Tue, 2 Feb 2021 19:27:41 +0100 Subject: [PATCH] lib/xref: restore lost extern "C" beginning The `}` is still there, but the `extern "C" {` got lost somewhere, probably in a rebase... Signed-off-by: David Lamparter --- lib/xref.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/xref.h b/lib/xref.h index 11796bc4f8..e464da4131 100644 --- a/lib/xref.h +++ b/lib/xref.h @@ -23,6 +23,10 @@ #include #include "compiler.h" +#ifdef __cplusplus +extern "C" { +#endif + enum xref_type { XREFT_NONE = 0, -- 2.39.5