riscv: Move strcmp to util

This commit is contained in:
Adrian Danis
2018-04-09 16:01:10 +10:00
committed by Anna Lyons
parent c083919796
commit 5ac36bcefb
3 changed files with 14 additions and 12 deletions

View File

@@ -89,6 +89,7 @@ void memzero(void *s, unsigned long n);
void *memset(void *s, unsigned long c, unsigned long n) VISIBLE;
void *memcpy(void* ptr_dst, const void* ptr_src, unsigned long n) VISIBLE;
int PURE strncmp(const char *s1, const char *s2, int n);
int strcmp(const char *s1, const char *s2);
unsigned long strlen(const char *s);
long CONST char_to_long(char c);
long PURE str_to_long(const char* str);