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 /as400 | |
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 'as400')
-rw-r--r-- | as400/bndsrc | 1 | ||||
-rw-r--r-- | as400/zlib.inc | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/as400/bndsrc b/as400/bndsrc index d048dbb..52cc661 100644 --- a/as400/bndsrc +++ b/as400/bndsrc | |||
@@ -195,7 +195,6 @@ STRPGMEXP PGMLVL(*CURRENT) SIGNATURE('ZLIB') | |||
195 | /********************************************************************/ | 195 | /********************************************************************/ |
196 | 196 | ||
197 | EXPORT SYMBOL("gzgetc_") | 197 | EXPORT SYMBOL("gzgetc_") |
198 | EXPORT SYMBOL("gzflags") | ||
199 | 198 | ||
200 | /********************************************************************/ | 199 | /********************************************************************/ |
201 | /* *MODULE INFLATE ZLIB 01/02/01 00:15:09 */ | 200 | /* *MODULE INFLATE ZLIB 01/02/01 00:15:09 */ |
diff --git a/as400/zlib.inc b/as400/zlib.inc index a5838cb..2671c87 100644 --- a/as400/zlib.inc +++ b/as400/zlib.inc | |||
@@ -442,6 +442,4 @@ | |||
442 | D PR 10I 0 extproc('deflateResetKeep') End and init. stream | 442 | D PR 10I 0 extproc('deflateResetKeep') End and init. stream |
443 | D strm like(z_stream) Expansion stream | 443 | D strm like(z_stream) Expansion stream |
444 | * | 444 | * |
445 | D gzflags PR 10U 0 extproc('gzflags') | ||
446 | * | ||
447 | /endif | 445 | /endif |