mescc: Tinycc support: strtoull stub.

* mlibc/include/stdlib.h (strtoull): Declare.
* mlibc/libc-mes+tcc.c (strtoull): Add stub.
This commit is contained in:
Jan Nieuwenhuizen 2017-07-24 18:08:02 +02:00
parent c749bb5aa3
commit ec335eef50
2 changed files with 7 additions and 0 deletions

View File

@ -41,6 +41,7 @@ void qsort (void *base, size_t nmemb, size_t size, int (*compar)(void const *, v
void *realloc (void *p, size_t size);
long strtol (char const *nptr, char **endptr, int base);
unsigned long strtoul (char const *nptr, char **endptr, int base);
unsigned long long strtoull (char const *nptr, char **endptr, int base);
#endif // !(__GNUC__ && POSIX)

View File

@ -148,6 +148,12 @@ strtoul (char const *nptr, char **endptr, int base)
return 0;
}
unsigned long long
strtoull (char const *nptr, char **endptr, int base)
{
return 0;
}
time_t time (time_t *tloc)
{
return 0;