summaryrefslogtreecommitdiff
path: root/util.c
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-18 01:54:57 (GMT)
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-06-18 01:54:57 (GMT)
commitafd7e4668f8195a98eb45fd82132d3d11eada77f (patch)
tree9ace92fdcc869453d5e6a2711ddbfb14b2b52a79 /util.c
parentc6575865aa2186058b92c976257bb78b1edf4ca6 (diff)
* 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
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/util.c b/util.c
index 8a443f9..99532a1 100644
--- a/util.c
+++ b/util.c
@@ -10,6 +10,7 @@
**********************************************************************/
#include "ruby/ruby.h"
+#include "internal.h"
#include <ctype.h>
#include <stdio.h>
@@ -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)
{