Remove typedef
All checks were successful
CI / build-and-analyze (push) Successful in 49s

This commit is contained in:
2026-08-18 10:28:30 +03:00
parent d6ea34f402
commit 04d8de9ec6

View File

@@ -9,11 +9,11 @@
#define MAX_PATH 260
#endif
typedef struct CgeFsDir {
struct CgeFsDir {
HANDLE handle;
WIN32_FIND_DATAW findData;
int hasEntry;
} CgeFsDir;
};
static int utf8ToWchar(const char *utf8, wchar_t *out, int size) {
int len;
@@ -69,7 +69,6 @@ static uint64_t fileTimeToUint64(const FILETIME *ft) {
CgeFsDir *CgeFsOpen(const char *path, int *result) {
wchar_t findPathW[MAX_PATH];
char findPathA[MAX_PATH * 4];
size_t size;
CgeFsDir *d;
snprintf(findPathA, sizeof(findPathA), "%s\\*", path);