diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-02-01 23:25:34 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-02-01 23:25:34 -0800 |
commit | 55b8b5fec16503cb9ce26074f600a1d7b426a0cc (patch) | |
tree | 7e14662a33ffd8141e9a794329aa0a731250f486 /zlib.h | |
parent | a8d23bb675e05cfc0cc70ddc8ea03dbbf0e49fb8 (diff) | |
download | zlib-55b8b5fec16503cb9ce26074f600a1d7b426a0cc.tar.gz zlib-55b8b5fec16503cb9ce26074f600a1d7b426a0cc.tar.bz2 zlib-55b8b5fec16503cb9ce26074f600a1d7b426a0cc.zip |
Put gzflags() functionality back in zutil.c.
gzflags() was put in gzwrite.c in order to be compiled exactly the
same as gzprintf(), so that it was guaranteed to return the correct
information. However that causes a static linkage to zlib to bring
in many routines that are often not used. All that is required to
duplicate the compilation environment of gzprintf() is to include
gzguts.h. So that is now done in zutil.c to assure that the correct
flags are returned.
Diffstat (limited to 'zlib.h')
-rw-r--r-- | zlib.h | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -1727,9 +1727,6 @@ ZEXTERN const uLongf * ZEXPORT get_crc_table OF((void)); | |||
1727 | ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); | 1727 | ZEXTERN int ZEXPORT inflateUndermine OF((z_streamp, int)); |
1728 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); | 1728 | ZEXTERN int ZEXPORT inflateResetKeep OF((z_streamp)); |
1729 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); | 1729 | ZEXTERN int ZEXPORT deflateResetKeep OF((z_streamp)); |
1730 | #ifndef Z_SOLO | ||
1731 | ZEXTERN unsigned long ZEXPORT gzflags OF((void)); | ||
1732 | #endif | ||
1733 | 1730 | ||
1734 | #ifdef __cplusplus | 1731 | #ifdef __cplusplus |
1735 | } | 1732 | } |