summaryrefslogtreecommitdiffhomepage
path: root/src/variable.c
diff options
context:
space:
mode:
authorcremno <[email protected]>2014-01-07 17:56:30 +0100
committercremno <[email protected]>2014-01-07 17:56:30 +0100
commitaa655b9ee13b2d26de7a633049e20742b7393e52 (patch)
treeb2708c1d3bae0dc0ba575079ed2663bbfeb07452 /src/variable.c
parentcff4ac6bb7fac7cf72b58a0081d7dacd9c1f492c (diff)
downloadmruby-aa655b9ee13b2d26de7a633049e20742b7393e52.tar.gz
mruby-aa655b9ee13b2d26de7a633049e20742b7393e52.zip
remove superfluous includes
- reduce compile time by a little bit (full-core: ~0.7s for me) - thanks to 'include-what-you-use' for some help - include Standard C header files before any other (coding style)
Diffstat (limited to 'src/variable.c')
-rw-r--r--src/variable.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/variable.c b/src/variable.c
index 921d465a2..5ced2dfbd 100644
--- a/src/variable.c
+++ b/src/variable.c
@@ -4,14 +4,12 @@
** See Copyright Notice in mruby.h
*/
+#include <ctype.h>
#include "mruby.h"
#include "mruby/array.h"
#include "mruby/class.h"
#include "mruby/proc.h"
#include "mruby/string.h"
-#include "mruby/variable.h"
-#include "error.h"
-#include <ctype.h>
typedef int (iv_foreach_func)(mrb_state*,mrb_sym,mrb_value,void*);