aboutsummaryrefslogtreecommitdiffstats
path: root/symbol.c
diff options
context:
space:
mode:
Diffstat (limited to 'symbol.c')
-rw-r--r--symbol.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/symbol.c b/symbol.c
index c3ce50f830..630a386eb0 100644
--- a/symbol.c
+++ b/symbol.c
@@ -103,8 +103,13 @@ Init_sym(void)
Init_id();
}
-static ID attrsetname_to_attr(VALUE name);
-static VALUE lookup_id_str(ID id);
+WARN_UNUSED_RESULT(static VALUE dsymbol_alloc(const VALUE klass, const VALUE str, rb_encoding *const enc));
+WARN_UNUSED_RESULT(static VALUE dsymbol_check(const VALUE sym));
+WARN_UNUSED_RESULT(static ID dsymbol_pindown(VALUE sym));
+WARN_UNUSED_RESULT(static ID lookup_str_id(VALUE str));
+WARN_UNUSED_RESULT(static VALUE lookup_str_sym(const VALUE str));
+WARN_UNUSED_RESULT(static VALUE lookup_id_str(ID id));
+WARN_UNUSED_RESULT(static ID attrsetname_to_attr(VALUE name));
ID
rb_id_attrset(ID id)