summaryrefslogtreecommitdiff
path: root/ruby.c
diff options
context:
space:
mode:
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 9d0e282d97..f73194bbec 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;