From 58d5fe59154dadc9153aff8c943858837a208445 Mon Sep 17 00:00:00 2001 From: Ian Darwin Date: Fri, 22 May 1992 17:50:26 +0000 Subject: [PATCH] Minor fixup of types. Rename variable "new" to "newch" for C++ compatibility. --- src/compress.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/compress.c b/src/compress.c index 058803e2..eefebf50 100644 --- a/src/compress.c +++ b/src/compress.c @@ -1,7 +1,7 @@ /* * compress routines: * is_compress() returns 0 if uncompressed, number of bits if compressed. - * uncompress(old, n, new) - uncompress old into new, return sizeof new + * uncompress(old, n, newch) - uncompress old into new, return sizeof new */ /* Check for compression, return nbits. Algorithm, in magic(4) format: @@ -23,12 +23,12 @@ int *b; } int -uncompress(old, n, new) -unsigned char *old, **new; +uncompress(old, n, newch) +unsigned char *old, **newch; int n; { - *new = old; /* TODO write this */ - **new = 0; /* prevent infinite loop, skeleton version only */ + *newch = old; /* TODO write this */ + **newch = 0; /* prevent infinite loop, skeleton version only */ return n; } -- 2.40.0