X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Fstdio_impl.h;h=65dcfbda053968b768f22a79a539e9711157fb1a;hb=ebee8c2b477807fe58fd35d35783633ea08b049c;hp=af7aacc839133021ebd2d43c6ac5f536f536573c;hpb=18efeb320b763e541a7dbf61a7da1cbe13ab2be9;p=musl diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index af7aacc8..65dcfbda 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -57,7 +57,7 @@ struct __FILE_s { int waiters; void *cookie; off_t off; - int (*flush)(FILE *); + char *getln_buf; void *mustbezero_2; unsigned char *shend; off_t shlim, shcnt; @@ -88,8 +88,8 @@ int __putc_unlocked(int, FILE *); FILE *__fdopen(int, const char *); -#define OFLLOCK() LOCK(&libc.ofl_lock) -#define OFLUNLOCK() UNLOCK(&libc.ofl_lock) +#define OFLLOCK() LOCK(libc.ofl_lock) +#define OFLUNLOCK() UNLOCK(libc.ofl_lock) #define feof(f) ((f)->flags & F_EOF) #define ferror(f) ((f)->flags & F_ERR)