--- deutex-git-ef1c06a62.old/src/lzw.c +++ deutex-git-ef1c06a62/src/lzw.c @@ -182,7 +182,7 @@ static int16_t ClearCode; static int16_t EOFCode; -void compress(int16_t init_bits, FILE * outfile, +void moocow_compress(int16_t init_bits, FILE * outfile, code_int(*ReadValue) (void)) { register int32_t fcode; --- deutex-git-ef1c06a62.old/src/picture.c +++ deutex-git-ef1c06a62/src/picture.c @@ -1563,7 +1563,7 @@ */ typedef int16_t code_int; -extern void compress(int16_t init_bits, FILE * outfile, +extern void moocow_compress(int16_t init_bits, FILE * outfile, code_int(*ReadValue) (void)); static char *Raw; static int32_t CountTop = 0; @@ -1611,7 +1611,9 @@ CountTop = rawSz; CountCur = 0; compressInit(); - compress(8 + 1, fd, NextPixel); /* write picture, InitCodeSize=8 */ + + /* write picture, InitCodeSize=8 */ + moocow_compress(8 + 1, fd, NextPixel); compressFree(); /* termination */