summaryrefslogtreecommitdiffhomepage
path: root/src/string.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2016-09-27 10:28:04 +0900
committerGitHub <[email protected]>2016-09-27 10:28:04 +0900
commit6bc4b47c4666649c6a043697b00b4664b360b7e8 (patch)
treebe5adf84331ef2d37ba23530bafd6fb7472c1c0e /src/string.c
parent7a382e8bdfeb745ccda70c749daa0bc94fe51f3b (diff)
parent91bd3ebd32097d6f26e0ee18b73b27692c171a26 (diff)
downloadmruby-6bc4b47c4666649c6a043697b00b4664b360b7e8.tar.gz
mruby-6bc4b47c4666649c6a043697b00b4664b360b7e8.zip
Merge pull request #3216 from kou/remove-needless-mrbapi
Remove needless MRB_API
Diffstat (limited to 'src/string.c')
-rw-r--r--src/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/string.c b/src/string.c
index 15fcc502a..61aa08577 100644
--- a/src/string.c
+++ b/src/string.c
@@ -576,7 +576,7 @@ str_rindex(mrb_state *mrb, mrb_value str, mrb_value sub, mrb_int pos)
}
}
-MRB_API mrb_int
+mrb_int
mrb_str_strlen(mrb_state *mrb, struct RString *s)
{
mrb_int i, max = RSTR_LEN(s);