From 5c804cf68f2b7e80780d3d812efb70ef9e376c08 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 24 Jul 2021 19:03:32 +0900 Subject: Remove redundant include headers. - stdlib.h - stddef.h - stdint.h - stdarg.h - limits.h - float.h --- src/string.c | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'src/string.c') diff --git a/src/string.c b/src/string.c index 03d9c8a9c..2258cc218 100644 --- a/src/string.c +++ b/src/string.c @@ -8,14 +8,6 @@ # define _CRT_NONSTDC_NO_DEPRECATE #endif -#ifndef MRB_NO_FLOAT -#include -#include -#endif -#include -#include -#include -#include #include #include #include @@ -23,6 +15,10 @@ #include #include #include +#ifndef MRB_NO_FLOAT +#include +#endif +#include typedef struct mrb_shared_string { int refcnt; -- cgit v1.2.3