From f3c372ec48552e1d30029cc158096bd325da4b6e Mon Sep 17 00:00:00 2001 From: chaoskagami Date: Thu, 18 Aug 2016 14:51:44 -0400 Subject: [PATCH] Move some more stuff from newlib --- include/std/memory.h | 2 +- source/std/memory.c | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/include/std/memory.h b/include/std/memory.h index ecb541e..a367c18 100644 --- a/include/std/memory.h +++ b/include/std/memory.h @@ -4,9 +4,9 @@ #include #include #include +#include int atoi(const char *str); uint8_t *memfind(uint8_t *startPos, uint32_t size, const void *pattern, uint32_t patternSize); -int isprint(char c); #endif diff --git a/source/std/memory.c b/source/std/memory.c index dc91fa7..45bfd9b 100644 --- a/source/std/memory.c +++ b/source/std/memory.c @@ -3,14 +3,6 @@ #include #include -int -isprint(char c) -{ - if (c >= 32 && c <= 127) - return 1; - return 0; -} - int atoi(const char *str) { -- 2.39.5