build: add a "user" arch to allow the kernel to run as a program on the host machine
This commit is contained in:
@@ -8,7 +8,7 @@ int strcmp(const char *s1, const char *s2)
|
||||
return s1[i] - s2[i];
|
||||
}
|
||||
|
||||
int strncmp(const char *s1, const char *s2, unsigned int n)
|
||||
int strncmp(const char *s1, const char *s2, unsigned long n)
|
||||
{
|
||||
for (; n > 0; s1++, s2++, --n)
|
||||
if (*s1 != *s2)
|
||||
|
||||
Reference in New Issue
Block a user