Commit Graph

11 Commits

Author SHA1 Message Date
christos b7c6768d3d Coverity CID 3206: Add assertion for NULL deref. 2006-05-13 22:05:04 +00:00
dsl 2fd2e12bd8 Don't bloat the standalone images with preset CRC tables and large routines.
Ideally some of the loops need de-unrolling as well (and in adler32.c).
Makes the i386 install floppies fit.
2006-02-18 18:39:58 +00:00
christos b85ba082e0 Sprinkle __UNCONST and fix some casts to make this pass WARNS=4
Note, that we cannot fix this properly because it will break the zlib.h API.
2006-01-27 00:45:27 +00:00
uwe d6cc4d7850 If __NetBSD__ && (_KERNEL || _STANDALONE) - don't try to pull in
limits.h to guess what a four byte type is, just use uint32_t.
2006-01-25 23:15:55 +00:00
christos a1f9f4c090 change DEBUG to ZLIB_DEBUG. 2006-01-16 17:02:29 +00:00
christos 5a1ae2ecf2 Avoid possible name shadowing with min and max (from libkern). 2006-01-16 03:23:10 +00:00
christos c08686ce36 add NetBSD ifdefs 2006-01-14 20:28:58 +00:00
christos 49473ec58b - include <sys/types.h>
- add z_ptrdiff_t
- add NetBSD ifdefs.
2006-01-14 20:27:34 +00:00
christos 86a96dbd0e use z_ptrdiff_t instead of ptrdiff_t directly. 2006-01-14 20:26:26 +00:00
christos 8f50ba1350 rename write to wwrite to avoid variable shadowing. 2006-01-14 20:26:05 +00:00
christos aaf4ece63a from www.zlib.net 2006-01-14 20:10:22 +00:00