summaryrefslogtreecommitdiffhomepage
path: root/mrbgems
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2015-05-29 02:01:03 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2015-05-29 02:01:03 +0900
commit55fed387a991c984ea2988b733ec42ebccfaaf2a (patch)
tree0dc3a57896a4f88391df9e986542edf5b5ff8f9b /mrbgems
parentb1871cf446a5cde128f8601b5517a8760af67940 (diff)
parent2ee84eb3dfdea45a254d53fbd76576f3bfb57728 (diff)
downloadmruby-55fed387a991c984ea2988b733ec42ebccfaaf2a.tar.gz
mruby-55fed387a991c984ea2988b733ec42ebccfaaf2a.zip
Merge pull request #2806 from cremno/simplify-mruby-ctype-macros
mruby.h: simplify ctype-like macros
Diffstat (limited to 'mrbgems')
-rw-r--r--mrbgems/mruby-string-ext/src/string.c1
-rw-r--r--mrbgems/mruby-string-utf8/src/string.c1
-rw-r--r--mrbgems/mruby-struct/src/struct.c1
3 files changed, 0 insertions, 3 deletions
diff --git a/mrbgems/mruby-string-ext/src/string.c b/mrbgems/mruby-string-ext/src/string.c
index 221de5009..e925a82a7 100644
--- a/mrbgems/mruby-string-ext/src/string.c
+++ b/mrbgems/mruby-string-ext/src/string.c
@@ -1,4 +1,3 @@
-#include <ctype.h>
#include <string.h>
#include "mruby.h"
#include "mruby/array.h"
diff --git a/mrbgems/mruby-string-utf8/src/string.c b/mrbgems/mruby-string-utf8/src/string.c
index ef9457195..e21101df9 100644
--- a/mrbgems/mruby-string-utf8/src/string.c
+++ b/mrbgems/mruby-string-utf8/src/string.c
@@ -5,7 +5,6 @@
#include "mruby/range.h"
#include "mruby/numeric.h"
#include "mruby/re.h"
-#include <ctype.h>
#include <string.h>
static const char utf8len_codepage[256] =
diff --git a/mrbgems/mruby-struct/src/struct.c b/mrbgems/mruby-struct/src/struct.c
index 28ba9c3db..d2187a2d1 100644
--- a/mrbgems/mruby-struct/src/struct.c
+++ b/mrbgems/mruby-struct/src/struct.c
@@ -4,7 +4,6 @@
** See Copyright Notice in mruby.h
*/
-#include <ctype.h>
#include <string.h>
#include "mruby.h"
#include "mruby/array.h"