bsp,abstract-machine,libc: add more dummy functions to pass linking
This commit is contained in:
parent
5cd97fe3f3
commit
4ed46aca44
1 changed files with 12 additions and 0 deletions
|
@ -5,6 +5,18 @@ char *strchr(const char *s, int c) {
|
||||||
assert(0);
|
assert(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
char *strrchr(const char *s, int c) {
|
||||||
|
assert(0);
|
||||||
|
}
|
||||||
|
|
||||||
char *strstr(const char *haystack, const char *needle) {
|
char *strstr(const char *haystack, const char *needle) {
|
||||||
return rt_strstr(haystack, needle);
|
return rt_strstr(haystack, needle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long strtol(const char *restrict nptr, char **restrict endptr, int base) {
|
||||||
|
assert(0);
|
||||||
|
}
|
||||||
|
|
||||||
|
char *strncat(char *restrict dst, const char *restrict src, size_t sz) {
|
||||||
|
assert(0);
|
||||||
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue