diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-03 20:41:22 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-05-03 20:41:22 (GMT) |
commit | 47d7aa4020e2cd163aeba6435d2a701ad48bee45 (patch) | |
tree | 7bd7477b079cef72b27e17b8aad253e764424f27 /compat/zlib/contrib/puff/puff.h | |
parent | 8124b5fb585273485814508c23908f35f44d3fba (diff) | |
download | tcl-47d7aa4020e2cd163aeba6435d2a701ad48bee45.zip tcl-47d7aa4020e2cd163aeba6435d2a701ad48bee45.tar.gz tcl-47d7aa4020e2cd163aeba6435d2a701ad48bee45.tar.bz2 |
zlib-1.2.7
Diffstat (limited to 'compat/zlib/contrib/puff/puff.h')
-rw-r--r-- | compat/zlib/contrib/puff/puff.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/compat/zlib/contrib/puff/puff.h b/compat/zlib/contrib/puff/puff.h index 88d1b38..6a0080a 100644 --- a/compat/zlib/contrib/puff/puff.h +++ b/compat/zlib/contrib/puff/puff.h @@ -1,6 +1,6 @@ /* puff.h Copyright (C) 2002-2010 Mark Adler, all rights reserved - version 2.1, 4 Apr 2010 + version 2.2, 25 Apr 2010 This software is provided 'as-is', without any express or implied warranty. In no event will the author be held liable for any damages @@ -25,7 +25,11 @@ /* * See puff.c for purpose and usage. */ +#ifndef NIL +# define NIL ((unsigned char *)0) /* for no output option */ +#endif + int puff(unsigned char *dest, /* pointer to destination pointer */ unsigned long *destlen, /* amount of output space */ - unsigned char *source, /* pointer to source data pointer */ + const unsigned char *source, /* pointer to source data pointer */ unsigned long *sourcelen); /* amount of input available */ |