libc: Stub out strtok()
This commit is contained in:
parent
f8f5968753
commit
da4c0d5184
@ -91,6 +91,8 @@ extern "C"
|
||||
__lc_deprecated("strcat is unsafe and should not be used; use strncat instead") char* strcat(char* dest,
|
||||
const char* src);
|
||||
|
||||
char* strtok(char* str, const char* delim); // Not implemented.
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include <errno.h>
|
||||
#include <luna.h>
|
||||
#include <stdlib.h>
|
||||
#include <string.h>
|
||||
|
||||
@ -295,4 +296,9 @@ extern "C"
|
||||
}
|
||||
|
||||
#pragma GCC pop_options
|
||||
|
||||
char* strtok(char*, const char*)
|
||||
{
|
||||
NOT_IMPLEMENTED("strtok");
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user