]> cvs.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/string.h
Cleanup armsrc/string.c and string.h (#964)
[proxmark3-svn] / armsrc / string.h
index 6c380e5b51fe33e953715efca299ac971bf685fa..dd90c7bc5f6c7c8da3470e06cdd9db0aa6717513 100644 (file)
 #ifndef __STRING_H
 #define __STRING_H
 
-int strlen(const char *str);
-void *memcpy(void *dest, const void *src, int len);
-void *memset(void *dest, int c, int len);
-int memcmp(const void *av, const void *bv, int len);
-char *strncat(char *dest, const char *src, unsigned int n);
+#include <stdint.h>
+#include "util.h"
 
-#endif /* __STRING_H */
\ No newline at end of file
+RAMFUNC void *memcpy(void *dest, const void *src, size_t len);
+void *memset(void *dest, int c, size_t len);
+void *memmove(void *dest, const void *src, size_t len);
+RAMFUNC int memcmp(const void *av, const void *bv, size_t len);
+size_t strlen(const char *str);
+char *strncat(char *dest, const char *src, size_t n);
+char *strcat(char *dest, const char *src);
+
+#endif /* __STRING_H */
Impressum, Datenschutz