towupper/towlower: fast path for ascii chars
[oweals/musl.git] / src / dirent / __dirent.h
index 38a27b0690d009308071550b21074375bda4979e..32871baf51a1f38cbd4a97d034de3dab9f69ff51 100644 (file)
@@ -1,9 +1,9 @@
-struct __DIR_s
+struct __dirstream
 {
        int fd;
        off_t tell;
        int buf_pos;
        int buf_end;
-       int lock[2];
+       volatile int lock[2];
        char buf[2048];
 };