From 0fcb2dd51dc7cec3155aa161bbda868c9a23c36e Mon Sep 17 00:00:00 2001 From: S-H-GAMELINKS Date: Wed, 27 May 2020 01:32:57 +0900 Subject: [PATCH] add static modifier for rb_str_ord func --- string.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/string.c b/string.c index eac1d21697..da07bd5d9f 100644 --- a/string.c +++ b/string.c @@ -9727,7 +9727,7 @@ rb_str_crypt(VALUE str, VALUE salt) * "a".ord #=> 97 */ -VALUE +static VALUE rb_str_ord(VALUE s) { unsigned int c;