diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-09-29 16:43:29 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2012-09-29 16:43:29 -0700 |
| commit | be8f3909f7db027441283fe26cb03ae807d9ced3 (patch) | |
| tree | 93adc16b5259e84ff5e26be4dcf6546bea0ff831 | |
| parent | a3d7960a444cdb532eaaff359dbdabc3e9c93fe1 (diff) | |
| parent | cd58b12d847ad14e2471dbcf38bec7341a2d9da2 (diff) | |
| download | mruby-be8f3909f7db027441283fe26cb03ae807d9ced3.tar.gz mruby-be8f3909f7db027441283fe26cb03ae807d9ced3.zip | |
Merge pull request #481 from monaka/pr-tiny-cleanup-20120929
Tiny clean-up
| -rw-r--r-- | mrblib/init_mrblib.c | 1 | ||||
| -rw-r--r-- | src/struct.c | 3 |
2 files changed, 0 insertions, 4 deletions
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)); } 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 <stdarg.h> -//#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 * |
