X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/952a8bb59b197973e35ae187fc8acd2027ee570d..86fdf240e08493c3fc6cb92900ebc7bcb3a5ee84:/armsrc/string.c?ds=sidebyside diff --git a/armsrc/string.c b/armsrc/string.c index 945a4cf6..acb5a460 100644 --- a/armsrc/string.c +++ b/armsrc/string.c @@ -7,11 +7,9 @@ //----------------------------------------------------------------------------- // Common string.h functions //----------------------------------------------------------------------------- - #include "string.h" -#include -void *memcpy(void *dest, const void *src, int len) +RAMFUNC void *memcpy(void *dest, const void *src, int len) { uint8_t *d = dest; const uint8_t *s = src; @@ -33,7 +31,7 @@ void *memset(void *dest, int c, int len) return dest; } -int memcmp(const void *av, const void *bv, int len) +RAMFUNC int memcmp(const void *av, const void *bv, int len) { const uint8_t *a = av; const uint8_t *b = bv;