summaryrefslogtreecommitdiffhomepage
path: root/mrbgems/mruby-string-ext/src
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 /mrbgems/mruby-string-ext/src
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 'mrbgems/mruby-string-ext/src')
-rw-r--r--mrbgems/mruby-string-ext/src/string.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c
index 6718e734a..f194bbc0e 100644
--- a/mrbgems/mruby-string-ext/src/string.c
+++ b/mrbgems/mruby-string-ext/src/string.c
@@ -1,7 +1,7 @@
-#include "mruby.h"
-#include "mruby/string.h"
#include <ctype.h>
#include <string.h>
+#include "mruby.h"
+#include "mruby/string.h"
static mrb_value
mrb_str_getbyte(mrb_state *mrb, mrb_value str)