refactor headers, especially alltypes.h, and improve C++ ABI compat
[musl] / src / dirent / __dirent.h
index 07b3ee6..45509e1 100644 (file)
@@ -1,9 +1,9 @@
-struct __DIR_s
+struct __dirstream
 {
-       int lock;
        int fd;
        off_t tell;
        int buf_pos;
        int buf_end;
+       int lock[2];
        char buf[2048];
 };