From 24c4d5b06d231785db01500360c26815d8fe4d15 Mon Sep 17 00:00:00 2001 From: rubidium Date: Wed, 7 Mar 2007 12:11:48 +0000 Subject: (svn r9051) -Codechange: typedef [enum|struct] Y {} X; -> [enum|struct] X {}; --- src/fios.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/fios.h') diff --git a/src/fios.h b/src/fios.h index 9060724d8..bb119cc88 100644 --- a/src/fios.h +++ b/src/fios.h @@ -6,12 +6,12 @@ #define FIOS_H /* Deals with finding savegames */ -typedef struct { +struct FiosItem { byte type; uint64 mtime; char title[64]; char name[256 - 12 - 64]; -} FiosItem; +}; enum { FIOS_TYPE_DRIVE = 0, @@ -56,15 +56,15 @@ int CDECL compare_FiosItems(const void *a, const void *b); /* Implementation of opendir/readdir/closedir for Windows */ #if defined(WIN32) #include -typedef struct DIR DIR; +struct DIR; -typedef struct dirent { // XXX - only d_name implemented +struct dirent { // XXX - only d_name implemented wchar_t *d_name; // name of found file /* little hack which will point to parent DIR struct which will * save us a call to GetFileAttributes if we want information * about the file (for example in function fio_bla) */ DIR *dir; -} dirent; +}; struct DIR { HANDLE hFind; -- cgit v1.2.3-54-g00ecf