Add features needed by Janet language

See #97
See https://github.com/ahgamut/janet/tree/f838e36#compiling-janet-on-cosmopolitan
This commit is contained in:
Justine Tunney
2021-03-03 13:23:51 -08:00
parent e3ee3c78e9
commit 2134ffe005
3 changed files with 30 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ char *gdtoa(const FPI *fpi, int be, unsigned *bits, int *kindp, int mode,
int ndigits, int *decpt, char **rve);
void freedtoa(char *);
double atof(const char *);
float strtof(const char *, char **);
double strtod(const char *, char **);
int strtodg(const char *, char **, const FPI *, int *, unsigned *);