From: chaoskagami Date: Thu, 18 Aug 2016 18:51:44 +0000 (-0400) Subject: Move some more stuff from newlib X-Git-Tag: v0.3.0~54 X-Git-Url: https://chaos.moe/g/?a=commitdiff_plain;h=f3c372ec48552e1d30029cc158096bd325da4b6e;p=corbenik%2Fcorbenik.git Move some more stuff from newlib --- 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) {