Commit Graph

4 Commits

Author SHA1 Message Date
kamil 52678ac6a4 Adapt funopen(3) call after switch to new zlib(3)
In the prototype of the gzclose() function of changed from:

  typedef struct gzFile_s *gzFile;    /* semi-opaque gzip file descriptor */

to:

  typedef voidp gzFile;

This caused type mismatch when calling funopen(3) as:
   'int (*)(void *)' != 'int (*)(struct gzFile_s *)'

Cast gzclose to (int (*)(void *)) when used in funopen(3).
2017-01-10 04:42:20 +00:00
mbalmer 49e3ec350a Consistent use of return. 2012-12-25 09:24:45 +00:00
christos 2c6eadc9ce Move WARNS=3 to the Makefile.inc, and add a little const to the remaining
programs that did not compile before.
2005-06-27 01:00:04 +00:00
joda 7e74657e37 use gzip instead of compress 2001-01-02 21:39:37 +00:00