libroot: Clean up fpurge implementation.
* Take it from upstream glibc 2.15, much closer to the version we use. * Drop fpurge from stdio.h, it's nonstandard. Keep it around for ABI compatibility for now (BeOS didn't have it.) __fpurge is left in stdio_ext.h.
This commit is contained in:
@@ -120,7 +120,6 @@ extern FILE *fopencookie(void *cookie, const char *mode, cookie_io_functions_t
|
||||
/* file I/O */
|
||||
extern int fflush(FILE *stream);
|
||||
extern int fflush_unlocked(FILE *stream);
|
||||
extern int fpurge(FILE *stream);
|
||||
|
||||
extern int fgetpos(FILE *stream, fpos_t *position);
|
||||
extern int fsetpos(FILE *stream, const fpos_t *position);
|
||||
|
||||
Reference in New Issue
Block a user