summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/string.c b/string.c
index ca085405c0..4d2944ccd4 100644
--- a/string.c
+++ b/string.c
@@ -2107,7 +2107,7 @@ rb_str_unlocktmp(VALUE str)
return str;
}
-VALUE
+RUBY_FUNC_EXPORTED VALUE
rb_str_locktmp_ensure(VALUE str, VALUE (*func)(VALUE), VALUE arg)
{
rb_str_locktmp(str);