X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Fstdio_impl.h;h=a1f31b3cf3c602a2d4290fb39177d1a70be6aff4;hp=af7aacc839133021ebd2d43c6ac5f536f536573c;hb=4750cf4202c29a895639b89099a7bdbe9ae422b6;hpb=e7655ed37bc9c2d79d921af4f287ee5cf2788661 diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index af7aacc8..a1f31b3c 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -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)