mescc: Tinycc support: strtoll stub.
* mlibc/include/stdlib.h (strtoll): Declare. * mlibc/libc-mes+tcc.c (strtoll): Add stub.
This commit is contained in:
parent
ec335eef50
commit
9f44c4875a
|
@ -40,6 +40,7 @@ void *malloc (size_t);
|
||||||
void qsort (void *base, size_t nmemb, size_t size, int (*compar)(void const *, void const *));
|
void qsort (void *base, size_t nmemb, size_t size, int (*compar)(void const *, void const *));
|
||||||
void *realloc (void *p, size_t size);
|
void *realloc (void *p, size_t size);
|
||||||
long strtol (char const *nptr, char **endptr, int base);
|
long strtol (char const *nptr, char **endptr, int base);
|
||||||
|
long long strtoll (char const *nptr, char **endptr, int base);
|
||||||
unsigned long strtoul (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);
|
unsigned long long strtoull (char const *nptr, char **endptr, int base);
|
||||||
|
|
||||||
|
|
|
@ -142,6 +142,12 @@ strtol (char const *nptr, char **endptr, int base)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
long long int
|
||||||
|
strtoll (char const *nptr, char **endptr, int base)
|
||||||
|
{
|
||||||
|
return 0;
|
||||||
|
}
|
||||||
|
|
||||||
unsigned long
|
unsigned long
|
||||||
strtoul (char const *nptr, char **endptr, int base)
|
strtoul (char const *nptr, char **endptr, int base)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue