@@ -133,11 +133,11 @@ extern "C" {
133133 #endif
134134#endif
135135
136- typedef voidpf (ZCALLBACK * open_file_func ) OF ( ( voidpf opaque , voidpf file , int mode ) );
137- typedef uLong (ZCALLBACK * read_file_func ) OF ( ( voidpf opaque , voidpf stream , void * buf , uLong size ) );
138- typedef uLong (ZCALLBACK * write_file_func ) OF ( ( voidpf opaque , voidpf stream , const void * buf , uLong size ) );
139- typedef int (ZCALLBACK * close_file_func ) OF (( voidpf opaque , voidpf stream ) );
140- typedef int (ZCALLBACK * testerror_file_func ) OF (( voidpf opaque , voidpf stream ) );
136+ typedef voidpf (ZCALLBACK * open_file_func ) ( voidpf opaque , voidpf file , int mode );
137+ typedef uLong (ZCALLBACK * read_file_func ) ( voidpf opaque , voidpf stream , void * buf , uLong size );
138+ typedef uLong (ZCALLBACK * write_file_func ) ( voidpf opaque , voidpf stream , const void * buf , uLong size );
139+ typedef int (ZCALLBACK * close_file_func ) ( voidpf opaque , voidpf stream );
140+ typedef int (ZCALLBACK * testerror_file_func ) ( voidpf opaque , voidpf stream );
141141
142142typedef long (ZCALLBACK * tell_file_func ) (voidpf opaque , voidpf stream );
143143typedef long (ZCALLBACK * seek_file_func ) (voidpf opaque , voidpf stream , uLong offset , int origin );
@@ -186,16 +186,16 @@ typedef struct zlib_filefunc64_32_def_s
186186 close_file_func zfakeclose_file ; // for no-auto-close flag
187187} zlib_filefunc64_32_def ;
188188
189- voidpf ZCALLBACK qiodevice_open_file_func OF ( ( voidpf opaque , voidpf file , int mode ) );
190- uLong ZCALLBACK qiodevice_read_file_func OF ( ( voidpf opaque , voidpf stream , void * buf , uLong size ) );
191- uLong ZCALLBACK qiodevice_write_file_func OF ( ( voidpf opaque , voidpf stream , const void * buf , uLong size ) );
192- uLong ZCALLBACK qiodevice_tell_file_func OF ( ( voidpf opaque , voidpf stream ) );
193- ZPOS64_T ZCALLBACK qiodevice64_tell_file_func OF ( ( voidpf opaque , voidpf stream ) );
194- int ZCALLBACK qiodevice_seek_file_func OF ( ( voidpf opaque , voidpf stream , uLong offset , int origin ) );
195- int ZCALLBACK qiodevice64_seek_file_func OF ( ( voidpf opaque , voidpf stream , ZPOS64_T offset , int origin ) );
196- int ZCALLBACK qiodevice_close_file_func OF ( ( voidpf opaque , voidpf stream ) );
197- int ZCALLBACK qiodevice_fakeclose_file_func OF ( ( voidpf opaque , voidpf stream ) );
198- int ZCALLBACK qiodevice_error_file_func OF ( ( voidpf opaque , voidpf stream ) );
189+ voidpf ZCALLBACK qiodevice_open_file_func ( voidpf opaque , voidpf file , int mode );
190+ uLong ZCALLBACK qiodevice_read_file_func ( voidpf opaque , voidpf stream , void * buf , uLong size );
191+ uLong ZCALLBACK qiodevice_write_file_func ( voidpf opaque , voidpf stream , const void * buf , uLong size );
192+ uLong ZCALLBACK qiodevice_tell_file_func ( voidpf opaque , voidpf stream );
193+ ZPOS64_T ZCALLBACK qiodevice64_tell_file_func ( voidpf opaque , voidpf stream );
194+ int ZCALLBACK qiodevice_seek_file_func ( voidpf opaque , voidpf stream , uLong offset , int origin );
195+ int ZCALLBACK qiodevice64_seek_file_func ( voidpf opaque , voidpf stream , ZPOS64_T offset , int origin );
196+ int ZCALLBACK qiodevice_close_file_func ( voidpf opaque , voidpf stream );
197+ int ZCALLBACK qiodevice_fakeclose_file_func ( voidpf opaque , voidpf stream );
198+ int ZCALLBACK qiodevice_error_file_func ( voidpf opaque , voidpf stream );
199199
200200#define ZREAD64 (filefunc ,filestream ,buf ,size ) ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))
201201#define ZWRITE64 (filefunc ,filestream ,buf ,size ) ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))
0 commit comments