summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ruby.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/ruby.c b/ruby.c
index 75762ae57f..575bb44295 100644
--- a/ruby.c
+++ b/ruby.c
@@ -168,15 +168,8 @@ rubylib_mangled_path(const char *s, unsigned int l)
ptr[l + newl - oldl] = 0;
return ret;
}
-
-static VALUE
-rubylib_mangled_path2(const char *s)
-{
- return rubylib_mangled_path(s, strlen(s));
-}
#else
#define rubylib_mangled_path rb_str_new
-#define rubylib_mangled_path2 rb_str_new2
#endif
static void push_include _((const char *path));