summaryrefslogtreecommitdiff
path: root/Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c
diff options
context:
space:
mode:
authorMartin Schröder <martin@oneiros.de>2009-08-13 14:03:11 +0000
committerMartin Schröder <martin@oneiros.de>2009-08-13 14:03:11 +0000
commit81fbf5dfbb0adcfa546f9207214ff4b8d9c4244c (patch)
tree13b99e0161f5ce2a52f45201bc9440b943c3df55 /Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c
parentcccdec08d607bc33cd2675fe5d8c05897e8465ec (diff)
import libpng 1.2.39 (from luatex)
git-svn-id: svn://tug.org/texlive/trunk@14646 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c')
-rw-r--r--Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c b/Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c
new file mode 100644
index 00000000000..1422edb4377
--- /dev/null
+++ b/Build/source/libs/libpng/libpng-1.2.39/contrib/pngminim/encoder/dummy_inflate.c
@@ -0,0 +1,27 @@
+#include "zlib.h"
+
+int ZEXPORT inflate(strm, flush)
+z_streamp strm;
+int flush;
+{ return Z_OK ; }
+
+int ZEXPORT inflateReset(strm)
+z_streamp strm;
+{ return Z_OK ; }
+
+int ZEXPORT inflateEnd(strm)
+z_streamp strm;
+{ return Z_STREAM_ERROR ; }
+
+int ZEXPORT inflateInit_(strm, version, stream_size)
+z_streamp strm;
+const char *version;
+int stream_size;
+{ return Z_OK ; }
+
+int ZEXPORT inflateInit2_(strm, windowBits, version, stream_size)
+z_streamp strm;
+int windowBits;
+const char *version;
+int stream_size;
+{ return Z_STREAM_ERROR ; }