From ab97dc30efdd5cc1abf8c65b8ce29af364219167 Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Sat, 15 Sep 2012 21:47:30 +0000 Subject: First pass at modernizing struct definitions. --- src/lib/util/unzip.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'src/lib/util/unzip.h') diff --git a/src/lib/util/unzip.h b/src/lib/util/unzip.h index 225776abde4..078d38c8736 100644 --- a/src/lib/util/unzip.h +++ b/src/lib/util/unzip.h @@ -73,8 +73,7 @@ typedef enum _zip_error zip_error; ***************************************************************************/ /* contains extracted file header information */ -typedef struct _zip_file_header zip_file_header; -struct _zip_file_header +struct zip_file_header { UINT32 signature; /* central file header signature */ UINT16 version_created; /* version made by */ @@ -102,8 +101,7 @@ struct _zip_file_header /* contains extracted end of central directory information */ -typedef struct _zip_ecd zip_ecd; -struct _zip_ecd +struct zip_ecd { UINT32 signature; /* end of central dir signature */ UINT16 disk_number; /* number of this disk */ @@ -121,8 +119,7 @@ struct _zip_ecd /* describes an open ZIP file */ -typedef struct _zip_file zip_file; -struct _zip_file +struct zip_file { const char * filename; /* copy of ZIP filename (for caching) */ osd_file * file; /* OSD file handle */ -- cgit v1.2.3