From d085ac228e089e72e8bf583ba4b7affa9a027080 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Sat, 29 Sep 2012 17:00:32 +0900 Subject: mrb_long2int(n) : Remove as unused. defines.h : Remove as already commented out. --- src/struct.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/struct.c b/src/struct.c index a5ffe6453..a1ad2e1c0 100644 --- a/src/struct.c +++ b/src/struct.c @@ -11,7 +11,6 @@ #include "mruby/struct.h" #include "mruby/array.h" #include -//#include "defines.h" #ifdef ENABLE_REGEXP #include "encoding.h" @@ -20,8 +19,6 @@ #include "mruby/string.h" #include "mruby/class.h" #include "mruby/variable.h" -//#include "defines.h" -#define mrb_long2int(n) ((int)(n)) static struct RClass * -- cgit v1.2.3 From cd58b12d847ad14e2471dbcf38bec7341a2d9da2 Mon Sep 17 00:00:00 2001 From: Masaki Muranaka Date: Sat, 29 Sep 2012 17:02:36 +0900 Subject: Remove extern mrb_top_self. It is declared in mruby.h. --- mrblib/init_mrblib.c | 1 - 1 file changed, 1 deletion(-) diff --git a/mrblib/init_mrblib.c b/mrblib/init_mrblib.c index a845489f5..72355e3eb 100644 --- a/mrblib/init_mrblib.c +++ b/mrblib/init_mrblib.c @@ -11,7 +11,6 @@ mrb_init_mrblib(mrb_state *mrb) { int n = mrb_read_irep(mrb, mrblib_irep); - extern mrb_value mrb_top_self(mrb_state *mrb); mrb_run(mrb, mrb_proc_new(mrb, mrb->irep[n]), mrb_top_self(mrb)); } -- cgit v1.2.3