summaryrefslogtreecommitdiff
path: root/lib/xref.h
diff options
context:
space:
mode:
authorDavid Lamparter <equinox@diac24.net>2021-02-02 19:27:41 +0100
committerDavid Lamparter <equinox@diac24.net>2021-02-03 00:54:59 +0100
commit96a70614507b75def9baf590dcac91ed88c268ff (patch)
treed1e4ac630fe81893336e4b6c24c78d457de8ce55 /lib/xref.h
parent4794708949d67356c8468ef42bfc5073fc721e56 (diff)
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 <equinox@diac24.net>
Diffstat (limited to 'lib/xref.h')
-rw-r--r--lib/xref.h4
1 files changed, 4 insertions, 0 deletions
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 <errno.h>
#include "compiler.h"
+#ifdef __cplusplus
+extern "C" {
+#endif
+
enum xref_type {
XREFT_NONE = 0,