Fixed open_memstream(), buf was void, opengroup.org shows that it should be char. Fixes #7905.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42618 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
93d4d55295
commit
3d01f69f9e
@ -97,7 +97,7 @@ extern void perror(const char *errorPrefix);
|
||||
|
||||
/* memory streams */
|
||||
extern FILE *fmemopen(void *buf, size_t size, const char *mode);
|
||||
extern FILE *open_memstream(void **buf, size_t *size);
|
||||
extern FILE *open_memstream(char **buf, size_t *size);
|
||||
|
||||
/* file I/O */
|
||||
extern int fflush(FILE *stream);
|
||||
|
Loading…
Reference in New Issue
Block a user