summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-17 07:52:35 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2001-12-17 07:52:35 +0000
commitcd956b3114c1b59de6660e1c70be192c6ee29235 (patch)
tree8fc65de2b8359c6dfdf0bc4931b970a00741d641 /ruby.c
parent4f8b1c8f64b2ec44401d7726fa74fa2a812c03f8 (diff)
* intern.h: add prototypes.
rb_gc_enable(), rb_gc_disable(), rb_gc_start(), rb_str_new5() rb_str_buf_append(), rb_str_buf_cat(), rb_str_buf_cat2(), rb_str_dup_frozen() * ruby.h: added declaration. rb_defout, rb_stdin, rb_stdout, rb_stderr, ruby_errinfo * rubyio.h: changed double include guard macro to RUBYIO_H. * array.c (inspect_call): make static. * eval.c (dvar_asgn): ditto. * io.c (rb_io_close_read): ditto. * lex.c (rb_reserved_word): ditto. * ruby.c: (req_list_head, req_list_last): ditto. * ruby.c (require_libraries): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r--ruby.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ruby.c b/ruby.c
index 9d0e282..f73194b 100644
--- a/ruby.c
+++ b/ruby.c
@@ -286,8 +286,8 @@ ruby_init_loadpath()
struct req_list {
char *name;
struct req_list *next;
-} req_list_head;
-struct req_list *req_list_last = &req_list_head;
+};
+static struct req_list req_list_head, *req_list_last = &req_list_head;
static void
add_modules(mod)
@@ -305,7 +305,7 @@ add_modules(mod)
extern void Init_ext _((void));
-void
+static void
require_libraries()
{
extern NODE *ruby_eval_tree;