wrap definition of free_langs() with HAVE_ATEXIT
...to avoid an unused function warning; see mozilla bug https://bugzilla.mozilla.org/show_bug.cgi?id=984081.
This commit is contained in:
parent
a9e25e90a4
commit
0082dbeae6
|
@ -234,6 +234,7 @@ struct hb_language_item_t {
|
|||
|
||||
static hb_language_item_t *langs;
|
||||
|
||||
#ifdef HAVE_ATEXIT
|
||||
static inline
|
||||
void free_langs (void)
|
||||
{
|
||||
|
@ -244,6 +245,7 @@ void free_langs (void)
|
|||
langs = next;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
static hb_language_item_t *
|
||||
lang_find_or_insert (const char *key)
|
||||
|
|
Loading…
Reference in New Issue