From 571744447c23f91feb6439948f3a619aca850dfb Mon Sep 17 00:00:00 2001 From: Szabolcs Nagy Date: Thu, 12 Dec 2013 05:09:18 +0000 Subject: include cleanups: remove unused headers and add feature test macros --- src/ctype/__ctype_b_loc.c | 1 - src/ctype/__ctype_get_mb_cur_max.c | 2 +- src/ctype/__ctype_tolower_loc.c | 3 +-- src/ctype/__ctype_toupper_loc.c | 3 +-- 4 files changed, 3 insertions(+), 6 deletions(-) (limited to 'src/ctype') diff --git a/src/ctype/__ctype_b_loc.c b/src/ctype/__ctype_b_loc.c index 6e93dc07..f43795e9 100644 --- a/src/ctype/__ctype_b_loc.c +++ b/src/ctype/__ctype_b_loc.c @@ -1,4 +1,3 @@ -#include #include #if __BYTE_ORDER == __BIG_ENDIAN diff --git a/src/ctype/__ctype_get_mb_cur_max.c b/src/ctype/__ctype_get_mb_cur_max.c index 42e4ee71..d235f4da 100644 --- a/src/ctype/__ctype_get_mb_cur_max.c +++ b/src/ctype/__ctype_get_mb_cur_max.c @@ -1,4 +1,4 @@ -#include +#include size_t __ctype_get_mb_cur_max() { diff --git a/src/ctype/__ctype_tolower_loc.c b/src/ctype/__ctype_tolower_loc.c index 62ce69a6..efb99105 100644 --- a/src/ctype/__ctype_tolower_loc.c +++ b/src/ctype/__ctype_tolower_loc.c @@ -1,5 +1,4 @@ -#include -#include +#include static const int32_t table[] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, diff --git a/src/ctype/__ctype_toupper_loc.c b/src/ctype/__ctype_toupper_loc.c index 15561645..ffaef0e9 100644 --- a/src/ctype/__ctype_toupper_loc.c +++ b/src/ctype/__ctype_toupper_loc.c @@ -1,5 +1,4 @@ -#include -#include +#include static const int32_t table[] = { 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, -- cgit v1.2.1