summaryrefslogtreecommitdiff
path: root/test/example.c
AgeCommit message (Collapse)Author
2014-10-12Remove workarounds for non-ANSI-C compatible compilers (Part 1)hansr
2012-08-13Clean up the usage of z_const and respect const usage within zlib.Mark Adler
This patch allows zlib to compile cleanly with the -Wcast-qual gcc warning enabled, but only if ZLIB_CONST is defined, which adds const to next_in and msg in z_stream and in the in_func prototype. A --const option is added to ./configure which adds -DZLIB_CONST to the compile flags, and adds -Wcast-qual to the compile flags when ZLIBGCCWARN is set in the environment.
2011-11-27Move example.c and minigzip.c to test/.Mark Adler