summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-04-20 17:41:01 +0900
committerGitHub <[email protected]>2021-04-20 17:41:01 +0900
commitbd66115257cf3f0e3759c542a949c25e5e484737 (patch)
treecdeb3a785a610f8d72cc45101c0f07c48d32b9da
parentca744e77c496b6fc82bf2ca26890d9108ec41e26 (diff)
parentc6911c54e5c372eb42436d5cf1727bc2a5fdd5c2 (diff)
downloadmruby-bd66115257cf3f0e3759c542a949c25e5e484737.tar.gz
mruby-bd66115257cf3f0e3759c542a949c25e5e484737.zip
Merge pull request #5418 from shuujii/remove-unused--include-in-complex.c-and-rational.c
Remove unused `#include` in `complex.c` and `rational.c`
-rw-r--r--mrbgems/mruby-complex/src/complex.c2
-rw-r--r--mrbgems/mruby-rational/src/rational.c3
2 files changed, 0 insertions, 5 deletions
diff --git a/mrbgems/mruby-complex/src/complex.c b/mrbgems/mruby-complex/src/complex.c
index 968d3fe2e..fe66e0e37 100644
--- a/mrbgems/mruby-complex/src/complex.c
+++ b/mrbgems/mruby-complex/src/complex.c
@@ -19,8 +19,6 @@ struct mrb_complex {
mrb_float imaginary;
};
-#include <mruby/istruct.h>
-
#if defined(MRB_32BIT) && !defined(MRB_USE_FLOAT32)
struct RComplex {
diff --git a/mrbgems/mruby-rational/src/rational.c b/mrbgems/mruby-rational/src/rational.c
index b12e7cf0a..2dfabe504 100644
--- a/mrbgems/mruby-rational/src/rational.c
+++ b/mrbgems/mruby-rational/src/rational.c
@@ -1,6 +1,5 @@
#include <mruby.h>
#include <mruby/class.h>
-#include <mruby/string.h>
#include <mruby/numeric.h>
#include <mruby/presym.h>
@@ -9,8 +8,6 @@ struct mrb_rational {
mrb_int denominator;
};
-#include <mruby/istruct.h>
-
#if defined(MRB_INT64) && defined(MRB_32BIT)
struct RRational {
MRB_OBJECT_HEADER;