summaryrefslogtreecommitdiff
path: root/re.c
diff options
context:
space:
mode:
Diffstat (limited to 're.c')
-rw-r--r--re.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/re.c b/re.c
index ec3fd70b4a..9fdbf547aa 100644
--- a/re.c
+++ b/re.c
@@ -13,6 +13,7 @@
#include "ruby/re.h"
#include "ruby/encoding.h"
#include "ruby/util.h"
+#include "internal.h"
#include "regint.h"
#include <ctype.h>
@@ -314,8 +315,6 @@ rb_reg_check(VALUE re)
}
}
-int rb_str_buf_cat_escaped_char(VALUE result, unsigned int c, int unicode_p);
-
static void
rb_reg_expr_str(VALUE str, const char *s, long len,
rb_encoding *enc, rb_encoding *resenc)