X-Git-Url: https://git.kernel.dk/?a=blobdiff_plain;f=os%2Fwindows%2Fposix%2Finclude%2Fdirent.h;h=6b4e671a8eb22e48108eb675f977b45f04aa369c;hb=e1e6d335854d1a233f167cd443bc2dc71460ec57;hp=eef6a8808deef2fcb690e461f8c99e71845fca21;hpb=d79db1222039e906dd49ae290daa59701f4e2385;p=fio.git diff --git a/os/windows/posix/include/dirent.h b/os/windows/posix/include/dirent.h index eef6a880..6b4e671a 100644 --- a/os/windows/posix/include/dirent.h +++ b/os/windows/posix/include/dirent.h @@ -1,24 +1,24 @@ -#ifndef DIRENT_H -#define DIRENT_H - -#include - -struct dirent -{ - ino_t d_ino; /* File serial number */ - char d_name[MAX_PATH]; /* Name of entry */ -}; - -struct dirent_ctx -{ - HANDLE find_handle; - char dirname[MAX_PATH]; -}; - -typedef struct dirent_ctx DIR; - -DIR *opendir(const char *dirname); -struct dirent *readdir(DIR *dirp); -int closedir(DIR *dirp); - -#endif /* DIRENT_H */ +#ifndef DIRENT_H +#define DIRENT_H + +#include + +struct dirent +{ + ino_t d_ino; /* File serial number */ + char d_name[MAX_PATH]; /* Name of entry */ +}; + +struct dirent_ctx +{ + HANDLE find_handle; + char dirname[MAX_PATH]; +}; + +typedef struct dirent_ctx DIR; + +DIR *opendir(const char *dirname); +struct dirent *readdir(DIR *dirp); +int closedir(DIR *dirp); + +#endif /* DIRENT_H */