From 2b9191e5572f165ea88295094dcbf3f466684902 Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 18 Nov 2014 15:13:05 +0000 Subject: * 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 --- ruby.c | 5 ----- 1 file changed, 5 deletions(-) (limited to 'ruby.c') 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) { -- cgit v1.2.3