From afd7e4668f8195a98eb45fd82132d3d11eada77f Mon Sep 17 00:00:00 2001 From: akr Date: Sat, 18 Jun 2011 01:54:57 +0000 Subject: * internal.h: declare more internal functions. * iseq.h (rb_method_get_iseq): declared. * compile.c, eval.c, eval_error.c, iseq.c, parse.y, proc.c, range.c, ruby.c, time.c, util.c, vm.c: don't declare internal functions. * eval.c, parse.y, thread_pthread.c: non-existing function declarations removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- util.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'util.c') diff --git a/util.c b/util.c index 8a443f913f..99532a13d2 100644 --- a/util.c +++ b/util.c @@ -10,6 +10,7 @@ **********************************************************************/ #include "ruby/ruby.h" +#include "internal.h" #include #include @@ -261,9 +262,6 @@ static const char suffix2[] = ".~~~"; #define strEQ(s1,s2) (strcmp((s1),(s2)) == 0) -extern const char *ruby_find_basename(const char *, long *, long *); -extern const char *ruby_find_extname(const char *, long *); - void ruby_add_suffix(VALUE str, const char *suffix) { -- cgit v1.2.3