summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2017-04-16 17:36:25 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2017-04-16 17:36:25 +0100
commit9a8577feadd13d0634f773953096a0ec3e7cb1eb (patch)
treeaebc5753956fd5204da16c37642dbc68ce5b979b
parent40e589531e6b607ca4430a7cc0a499786ebb52f8 (diff)
downloadnetsurf-9a8577feadd13d0634f773953096a0ec3e7cb1eb.tar.gz
netsurf-9a8577feadd13d0634f773953096a0ec3e7cb1eb.tar.bz2
Duktape: Make declaration match definition for duk_refzero_check_fast()
-rw-r--r--content/handlers/javascript/duktape/duktape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/content/handlers/javascript/duktape/duktape.c b/content/handlers/javascript/duktape/duktape.c
index e9840b85b..c2d7ec08b 100644
--- a/content/handlers/javascript/duktape/duktape.c
+++ b/content/handlers/javascript/duktape/duktape.c
@@ -5145,7 +5145,7 @@ struct duk_heaphdr_string {
#if defined(DUK_USE_REFERENCE_COUNTING)
#if defined(DUK_USE_FINALIZER_SUPPORT)
DUK_INTERNAL_DECL void duk_refzero_check_slow(duk_hthread *thr);
-DUK_INTERNAL_DECL void duk_refzero_check_fast(duk_hthread *thr);
+DUK_INTERNAL_DECL DUK_INLINE void duk_refzero_check_fast(duk_hthread *thr);
#endif
DUK_INTERNAL_DECL void duk_heaphdr_refcount_finalize_norz(duk_heap *heap, duk_heaphdr *hdr);
DUK_INTERNAL_DECL void duk_hobject_refcount_finalize_norz(duk_heap *heap, duk_hobject *h);