1 #include "stdio_impl.h"
4 static void dummy(FILE *f) { }
5 weak_alias(dummy, __unlist_locked_file);
14 __unlist_locked_file(f);
16 if (!(perm = f->flags & F_PERM)) {
18 if (f->prev) f->prev->next = f->next;
19 if (f->next) f->next->prev = f->prev;
20 if (libc.ofl_head == f) libc.ofl_head = f->next;
27 if (f->getln_buf) free(f->getln_buf);