summaryrefslogtreecommitdiff
path: root/ruby.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 /ruby.c
parentcebd7eca53db168754836764928dafe296a09b91 (diff)
* 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 'ruby.c')
-rw-r--r--ruby.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/ruby.c b/ruby.c
index 3894892307..fdd843e1dc 100644
--- a/ruby.c
+++ b/ruby.c
@@ -342,7 +342,6 @@ ruby_init_loadpath_safe(int safe_level)
{
VALUE load_path;
ID id_initial_load_path_mark;
- extern const char ruby_initial_load_paths[];
const char *paths = ruby_initial_load_paths;
#if defined LOAD_RELATIVE
# if defined HAVE_DLADDR || defined __CYGWIN__ || defined _WIN32
@@ -453,7 +452,6 @@ ruby_init_loadpath_safe(int safe_level)
#define RUBY_RELATIVE(path, len) rb_str_buf_cat(BASEPATH(), (path), (len))
#else
- extern const char ruby_exec_prefix[];
const size_t exec_prefix_len = strlen(ruby_exec_prefix);
#define RUBY_RELATIVE(path, len) rubylib_path_new((path), (len))
#define PREFIX_PATH() RUBY_RELATIVE(ruby_exec_prefix, exec_prefix_len)
@@ -1249,9 +1247,6 @@ rb_f_chomp(int argc, VALUE *argv)
return str;
}
-/* blank function in dmyext.c or generated by enc/make_encmake.rb */
-extern void Init_enc(void);
-
static VALUE
process_options(int argc, char **argv, struct cmdline_options *opt)
{