extern int EXPORT    gzclose OF((gzFile file)) #endif
int ZEXPORT gzclose (file) gzFile file;
extern int EXPORT    gzclose OF((gzFile file))#endif{    int err;    gz_stream *s = (gz_stream*)file;    if (s == NULL) return Z_STREAM_ERROR;    if (s->mode == 'w') {        err = gzflush (file, Z_FINISH);        if (err != Z_OK) return destroy(file);        putLong (s->file, s->crc);        putLong (s->file, s->stream.total_in);    }    return destroy(file);}