#include "stdio_impl.h"
-#include "libc.h"
+#include <stdlib.h>
static void dummy(FILE *f) { }
weak_alias(dummy, __unlist_locked_file);
r = fflush(f);
r |= f->close(f);
- if (f->getln_buf) free(f->getln_buf);
+ free(f->getln_buf);
if (!perm) free(f);
else FUNLOCK(f);