summaryrefslogtreecommitdiff
path: root/string.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-18 15:13:05 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-11-18 15:13:05 +0000
commit2b9191e5572f165ea88295094dcbf3f466684902 (patch)
treefc397b34b1c99c78970a248abfc3737bf310df71 /string.c
parentcebd7eca53db168754836764928dafe296a09b91 (diff)
downloadruby-2b9191e5572f165ea88295094dcbf3f466684902.tar.gz
* internal.h: Gather declarations in non-header files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'string.c')
-rw-r--r--string.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/string.c b/string.c
index 0c0d0dd904..1fb78ec9ce 100644
--- a/string.c
+++ b/string.c
@@ -135,8 +135,6 @@ VALUE rb_cSymbol;
#define SHARABLE_SUBSTRING_P(beg, len, end) 1
#endif
-rb_encoding *rb_enc_get_from_index(int index);
-
static rb_encoding *
get_actual_encoding(const int encidx, VALUE str)
{
@@ -720,7 +718,6 @@ rb_tainted_str_new_cstr(const char *ptr)
VALUE
rb_str_conv_enc_opts(VALUE str, rb_encoding *from, rb_encoding *to, int ecflags, VALUE ecopts)
{
- extern VALUE rb_cEncodingConverter;
rb_econv_t *ec;
rb_econv_result_t ret;
long len, olen;