summaryrefslogtreecommitdiff
path: root/gzlib.c
diff options
context:
space:
mode:
authorNathan Moinvaziri <nathan@solidstatenetworks.com>2020-08-22 18:24:10 -0700
committerHans Kristian Rosbach <hk-github@circlestorm.org>2020-08-31 12:33:16 +0200
commit7cffba4dd6fddd9be8f6aba8e30da0d2a2abd518 (patch)
tree9d8f3f8b8f6a1d8f6e4e1e16e650a48aaa315cd6 /gzlib.c
parentb5a81501f272084ebde8a2bc3871c6c1e22d26ff (diff)
Rename ZLIB_INTERNAL to Z_INTERNAL for consistency.
Diffstat (limited to 'gzlib.c')
-rw-r--r--gzlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gzlib.c b/gzlib.c
index cef3606..ebb3751 100644
--- a/gzlib.c
+++ b/gzlib.c
@@ -480,7 +480,7 @@ void ZEXPORT PREFIX(gzclearerr)(gzFile file) {
memory). Simply save the error message as a static string. If there is an
allocation failure constructing the error message, then convert the error to
out of memory. */
-void ZLIB_INTERNAL gz_error(gz_state *state, int err, const char *msg) {
+void Z_INTERNAL gz_error(gz_state *state, int err, const char *msg) {
/* free previously allocated message and clear */
if (state->msg != NULL) {
if (state->err != Z_MEM_ERROR)
@@ -514,7 +514,7 @@ void ZLIB_INTERNAL gz_error(gz_state *state, int err, const char *msg) {
available) -- we need to do this to cover cases where 2's complement not
used, since C standard permits 1's complement and sign-bit representations,
otherwise we could just use ((unsigned)-1) >> 1 */
-unsigned ZLIB_INTERNAL gz_intmax() {
+unsigned Z_INTERNAL gz_intmax() {
unsigned p, q;
p = 1;