summaryrefslogtreecommitdiffhomepage
path: root/src/vm.c
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2021-07-24 19:03:32 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2021-07-25 13:07:10 +0900
commit5c804cf68f2b7e80780d3d812efb70ef9e376c08 (patch)
treea2a135237c605849eda427e267e71770a09df330 /src/vm.c
parent1f90a397994376451e1efd2055c25a240832d5a1 (diff)
downloadmruby-5c804cf68f2b7e80780d3d812efb70ef9e376c08.tar.gz
mruby-5c804cf68f2b7e80780d3d812efb70ef9e376c08.zip
Remove redundant include headers.
- stdlib.h - stddef.h - stdint.h - stdarg.h - limits.h - float.h
Diffstat (limited to 'src/vm.c')
-rw-r--r--src/vm.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/src/vm.c b/src/vm.c
index cd70faf11..d52d690f5 100644
--- a/src/vm.c
+++ b/src/vm.c
@@ -4,11 +4,6 @@
** See Copyright Notice in mruby.h
*/
-#include <stddef.h>
-#include <stdarg.h>
-#ifndef MRB_NO_FLOAT
-#include <math.h>
-#endif
#include <mruby.h>
#include <mruby/array.h>
#include <mruby/class.h>
@@ -25,6 +20,9 @@
#include <mruby/throw.h>
#include <mruby/dump.h>
#include <mruby/presym.h>
+#ifndef MRB_NO_FLOAT
+#include <math.h>
+#endif
#ifdef MRB_NO_STDIO
#if defined(__cplusplus)