From: iceman1001 Date: Sat, 21 Jan 2017 10:06:48 +0000 (+0100) Subject: CHG: moved to header file. common.h has RAMFUNC definition X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/commitdiff_plain/897a14c36fa58f88508c0349dbfd9df368d5de78 CHG: moved to header file. common.h has RAMFUNC definition --- diff --git a/armsrc/string.c b/armsrc/string.c index 945a4cf6..6552ce1c 100644 --- a/armsrc/string.c +++ b/armsrc/string.c @@ -7,9 +7,7 @@ //----------------------------------------------------------------------------- // Common string.h functions //----------------------------------------------------------------------------- - #include "string.h" -#include void *memcpy(void *dest, const void *src, int len) { diff --git a/armsrc/string.h b/armsrc/string.h index a9dbd826..5e0edcac 100644 --- a/armsrc/string.h +++ b/armsrc/string.h @@ -12,8 +12,7 @@ #ifndef __STRING_H #define __STRING_H -#include -#include +#include int strlen(const char *str); RAMFUNC void *memcpy(void *dest, const void *src, int len); @@ -25,5 +24,4 @@ char *strcat(char *dest, const char *src); void strreverse(char s[]); void itoa(int n, char s[]); - -#endif /* __STRING_H */ +#endif /* __STRING_H */ \ No newline at end of file