Prefer C linkage
diff --git a/src/hb-ot-layout-gpos-private.hh b/src/hb-ot-layout-gpos-private.hh
index 77cbbeb..00fa7ef 100644
--- a/src/hb-ot-layout-gpos-private.hh
+++ b/src/hb-ot-layout-gpos-private.hh
@@ -29,6 +29,8 @@
#include "hb-ot-layout-gsubgpos-private.hh"
+HB_BEGIN_DECLS
+
#define HB_OT_LAYOUT_GPOS_NO_LAST ((unsigned int) -1)
@@ -1373,7 +1375,9 @@
};
+HB_BEGIN_DECLS
static inline bool position_lookup (hb_apply_context_t *c, unsigned int lookup_index);
+HB_END_DECLS
struct ContextPos : Context
{
@@ -1627,4 +1631,6 @@
}
+HB_END_DECLS
+
#endif /* HB_OT_LAYOUT_GPOS_PRIVATE_HH */