diff options
Diffstat (limited to 'contrib/puff/puff.h')
-rw-r--r-- | contrib/puff/puff.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/contrib/puff/puff.h b/contrib/puff/puff.h index 88d1b38..6a0080a 100644 --- a/contrib/puff/puff.h +++ b/contrib/puff/puff.h | |||
@@ -1,6 +1,6 @@ | |||
1 | /* puff.h | 1 | /* puff.h |
2 | Copyright (C) 2002-2010 Mark Adler, all rights reserved | 2 | Copyright (C) 2002-2010 Mark Adler, all rights reserved |
3 | version 2.1, 4 Apr 2010 | 3 | version 2.2, 25 Apr 2010 |
4 | 4 | ||
5 | This software is provided 'as-is', without any express or implied | 5 | This software is provided 'as-is', without any express or implied |
6 | warranty. In no event will the author be held liable for any damages | 6 | warranty. In no event will the author be held liable for any damages |
@@ -25,7 +25,11 @@ | |||
25 | /* | 25 | /* |
26 | * See puff.c for purpose and usage. | 26 | * See puff.c for purpose and usage. |
27 | */ | 27 | */ |
28 | #ifndef NIL | ||
29 | # define NIL ((unsigned char *)0) /* for no output option */ | ||
30 | #endif | ||
31 | |||
28 | int puff(unsigned char *dest, /* pointer to destination pointer */ | 32 | int puff(unsigned char *dest, /* pointer to destination pointer */ |
29 | unsigned long *destlen, /* amount of output space */ | 33 | unsigned long *destlen, /* amount of output space */ |
30 | unsigned char *source, /* pointer to source data pointer */ | 34 | const unsigned char *source, /* pointer to source data pointer */ |
31 | unsigned long *sourcelen); /* amount of input available */ | 35 | unsigned long *sourcelen); /* amount of input available */ |