diff options
author | Nathan Moinvaziri <nathan@solidstatenetworks.com> | 2020-08-22 18:24:10 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2020-08-31 12:33:16 +0200 |
commit | 7cffba4dd6fddd9be8f6aba8e30da0d2a2abd518 (patch) | |
tree | 9d8f3f8b8f6a1d8f6e4e1e16e650a48aaa315cd6 /zutil.c | |
parent | b5a81501f272084ebde8a2bc3871c6c1e22d26ff (diff) |
Rename ZLIB_INTERNAL to Z_INTERNAL for consistency.
Diffstat (limited to 'zutil.c')
-rw-r--r-- | zutil.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -87,9 +87,9 @@ unsigned long ZEXPORT PREFIX(zlibCompileFlags)(void) { # ifndef verbose # define verbose 0 # endif -int ZLIB_INTERNAL z_verbose = verbose; +int Z_INTERNAL z_verbose = verbose; -void ZLIB_INTERNAL z_error(char *m) { +void Z_INTERNAL z_error(char *m) { fprintf(stderr, "%s\n", m); exit(1); } @@ -115,7 +115,7 @@ const char * ZEXPORT PREFIX(zError)(int err) { # endif #endif -void ZLIB_INTERNAL *zng_calloc(void *opaque, unsigned items, unsigned size) +void Z_INTERNAL *zng_calloc(void *opaque, unsigned items, unsigned size) { (void)opaque; #ifndef UNALIGNED_OK @@ -126,7 +126,7 @@ void ZLIB_INTERNAL *zng_calloc(void *opaque, unsigned items, unsigned size) #endif } -void ZLIB_INTERNAL zng_cfree(void *opaque, void *ptr) { +void Z_INTERNAL zng_cfree(void *opaque, void *ptr) { (void)opaque; #ifndef UNALIGNED_OK zng_align_free(ptr); |