X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fdirent%2F__dirent.h;h=828a5f178917a97426d4fa35784494d894d25ccc;hb=bf14ef193b4203aa9a8b173faeeea06d98397f65;hp=32871baf51a1f38cbd4a97d034de3dab9f69ff51;hpb=56fbaa3bbe73f12af2bfbbcf2adb196e6f9fe264;p=musl diff --git a/src/dirent/__dirent.h b/src/dirent/__dirent.h index 32871baf..828a5f17 100644 --- a/src/dirent/__dirent.h +++ b/src/dirent/__dirent.h @@ -1,9 +1,11 @@ struct __dirstream { - int fd; off_t tell; + int fd; int buf_pos; int buf_end; - volatile int lock[2]; + volatile int lock[1]; + /* Any changes to this struct must preserve the property: + * offsetof(struct __dirent, buf) % sizeof(off_t) == 0 */ char buf[2048]; };