diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 06:30:08 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2013-06-24 06:30:08 +0000 |
commit | 52f959ca635e4ff8612880ac5cbbd5d7af6f1ce8 (patch) | |
tree | 82981f078d0c9275225085f01fd1cc8187427bc6 /Build/source/libs/zlib/zlib-1.2.7/gzclose.c | |
parent | 5f425d22f02e70b3cf7d8fe7c09c916ae9b9ec7a (diff) |
zlib 1.2.8
git-svn-id: svn://tug.org/texlive/trunk@30875 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/libs/zlib/zlib-1.2.7/gzclose.c')
-rw-r--r-- | Build/source/libs/zlib/zlib-1.2.7/gzclose.c | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/Build/source/libs/zlib/zlib-1.2.7/gzclose.c b/Build/source/libs/zlib/zlib-1.2.7/gzclose.c deleted file mode 100644 index caeb99a3177..00000000000 --- a/Build/source/libs/zlib/zlib-1.2.7/gzclose.c +++ /dev/null @@ -1,25 +0,0 @@ -/* gzclose.c -- zlib gzclose() function - * Copyright (C) 2004, 2010 Mark Adler - * For conditions of distribution and use, see copyright notice in zlib.h - */ - -#include "gzguts.h" - -/* gzclose() is in a separate file so that it is linked in only if it is used. - That way the other gzclose functions can be used instead to avoid linking in - unneeded compression or decompression routines. */ -int ZEXPORT gzclose(file) - gzFile file; -{ -#ifndef NO_GZCOMPRESS - gz_statep state; - - if (file == NULL) - return Z_STREAM_ERROR; - state = (gz_statep)file; - - return state->mode == GZ_READ ? gzclose_r(file) : gzclose_w(file); -#else - return gzclose_r(file); -#endif -} |