Remove redundant include headers.

- stdlib.h
- stddef.h
- stdint.h
- stdarg.h
- limits.h
- float.h
This commit is contained in:
Yukihiro "Matz" Matsumoto
2021-07-24 19:03:32 +09:00
parent 1f90a39799
commit 5c804cf68f
24 changed files with 12 additions and 43 deletions
+4 -8
View File
@@ -8,14 +8,6 @@
# define _CRT_NONSTDC_NO_DEPRECATE
#endif
#ifndef MRB_NO_FLOAT
#include <float.h>
#include <math.h>
#endif
#include <limits.h>
#include <stddef.h>
#include <stdlib.h>
#include <string.h>
#include <mruby.h>
#include <mruby/array.h>
#include <mruby/class.h>
@@ -23,6 +15,10 @@
#include <mruby/string.h>
#include <mruby/numeric.h>
#include <mruby/presym.h>
#ifndef MRB_NO_FLOAT
#include <math.h>
#endif
#include <string.h>
typedef struct mrb_shared_string {
int refcnt;