Don't declare popen and pclose.

This commit is contained in:
Dan Gohman 2019-05-14 11:43:37 -07:00
parent 84a2343ce4
commit eee6ee7566

View File

@ -157,8 +157,10 @@ FILE *tmpfile(void) __attribute__((__deprecated__("tmpfile is not defined on WAS
FILE *fmemopen(void *__restrict, size_t, const char *__restrict);
FILE *open_memstream(char **, size_t *);
FILE *fdopen(int, const char *);
#ifdef __wasilibc_unmodified_upstream /* WASI has no popen */
FILE *popen(const char *, const char *);
int pclose(FILE *);
#endif
int fileno(FILE *);
int fseeko(FILE *, off_t, int);
off_t ftello(FILE *);