summaryrefslogtreecommitdiff
path: root/infback.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2020-08-22 18:25:24 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-08-31 12:33:16 +0200
commit1f10aa4e29d4be6f2a3c63458e737a5b16b2d6e5 (patch)
treea79fee4c20e70d0e67d474b26a13d695ab507403 /infback.c
parent7cffba4dd6fddd9be8f6aba8e30da0d2a2abd518 (diff)
Rename ZEXPORT and ZEXTERN for consistency.
Diffstat (limited to 'infback.c')
-rw-r--r--infback.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/infback.c b/infback.c
index f0f3fa5..22599f0 100644
--- a/infback.c
+++ b/infback.c
@@ -25,7 +25,7 @@
windowBits is in the range 8..15, and window is a user-supplied
window and output buffer that is 2**windowBits bytes.
*/
-int32_t ZEXPORT PREFIX(inflateBackInit_)(PREFIX3(stream) *strm, int32_t windowBits, uint8_t *window,
+int32_t Z_EXPORT PREFIX(inflateBackInit_)(PREFIX3(stream) *strm, int32_t windowBits, uint8_t *window,
const char *version, int32_t stream_size) {
struct inflate_state *state;
@@ -127,7 +127,7 @@ int32_t ZEXPORT PREFIX(inflateBackInit_)(PREFIX3(stream) *strm, int32_t windowBi
inflateBack() can also return Z_STREAM_ERROR if the input parameters
are not correct, i.e. strm is NULL or the state was not initialized.
*/
-int32_t ZEXPORT PREFIX(inflateBack)(PREFIX3(stream) *strm, in_func in, void *in_desc, out_func out, void *out_desc) {
+int32_t Z_EXPORT PREFIX(inflateBack)(PREFIX3(stream) *strm, in_func in, void *in_desc, out_func out, void *out_desc) {
struct inflate_state *state;
z_const unsigned char *next; /* next input */
unsigned char *put; /* next output */
@@ -500,7 +500,7 @@ int32_t ZEXPORT PREFIX(inflateBack)(PREFIX3(stream) *strm, in_func in, void *in_
return ret;
}
-int32_t ZEXPORT PREFIX(inflateBackEnd)(PREFIX3(stream) *strm) {
+int32_t Z_EXPORT PREFIX(inflateBackEnd)(PREFIX3(stream) *strm) {
if (strm == NULL || strm->state == NULL || strm->zfree == NULL)
return Z_STREAM_ERROR;
ZFREE(strm, strm->state);