From: Ian Darwin Date: Fri, 22 May 1992 17:50:26 +0000 (+0000) Subject: Minor fixup of types. X-Git-Tag: FILE3_27~280 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=58d5fe59154dadc9153aff8c943858837a208445;p=file Minor fixup of types. Rename variable "new" to "newch" for C++ compatibility. --- 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; }