aboutsummaryrefslogtreecommitdiffstats
path: root/string.c
diff options
context:
space:
mode:
Diffstat (limited to 'string.c')
-rw-r--r--string.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/string.c b/string.c
index 6722457486..9a85f81493 100644
--- a/string.c
+++ b/string.c
@@ -14,6 +14,7 @@
#include "ruby/ruby.h"
#include "ruby/re.h"
#include "ruby/encoding.h"
+#include "internal.h"
#include <assert.h>
#define BEG(no) (regs->beg[(no)])
@@ -2053,8 +2054,6 @@ rb_str_append(VALUE str, VALUE str2)
return rb_str_buf_append(str, str2);
}
-int rb_num_to_uint(VALUE val, unsigned int *ret);
-
/*
* call-seq:
* str << integer -> str
@@ -7459,8 +7458,6 @@ sym_to_sym(VALUE sym)
return sym;
}
-VALUE rb_funcall_passing_block(VALUE recv, ID mid, int argc, const VALUE *argv);
-
static VALUE
sym_call(VALUE args, VALUE sym, int argc, VALUE *argv)
{