diff --git a/src/hb-blob-private.h b/src/hb-blob-private.h index 26cad0ab6..c91af65de 100644 --- a/src/hb-blob-private.h +++ b/src/hb-blob-private.h @@ -50,7 +50,7 @@ struct _hb_blob_t { void *user_data; }; -HB_INTERNAL hb_blob_t _hb_blob_nil; +extern HB_INTERNAL hb_blob_t _hb_blob_nil; HB_END_DECLS diff --git a/src/hb-font-private.hh b/src/hb-font-private.hh index ec07931ed..0d82850b0 100644 --- a/src/hb-font-private.hh +++ b/src/hb-font-private.hh @@ -50,8 +50,8 @@ struct _hb_font_funcs_t { hb_font_get_kerning_func_t get_kerning; }; -HB_INTERNAL hb_font_funcs_t -_hb_font_funcs_nil; +extern HB_INTERNAL hb_font_funcs_t _hb_font_funcs_nil; + /* * hb_face_t diff --git a/src/hb-private.h b/src/hb-private.h index 03c53fb5c..6108d4056 100644 --- a/src/hb-private.h +++ b/src/hb-private.h @@ -108,7 +108,7 @@ #endif #ifndef HB_INTERNAL -# define HB_INTERNAL extern __attribute__((__visibility__("hidden"))) +# define HB_INTERNAL __attribute__((__visibility__("hidden"))) #endif diff --git a/src/hb-unicode-private.h b/src/hb-unicode-private.h index ba530d289..01272da3e 100644 --- a/src/hb-unicode-private.h +++ b/src/hb-unicode-private.h @@ -49,8 +49,7 @@ struct _hb_unicode_funcs_t { hb_unicode_get_eastasian_width_func_t get_eastasian_width; }; -HB_INTERNAL hb_unicode_funcs_t -_hb_unicode_funcs_nil; +extern HB_INTERNAL hb_unicode_funcs_t _hb_unicode_funcs_nil; HB_INTERNAL hb_direction_t