diff options
-rw-r--r-- | apps/plugins/png/SOURCES | 2 | ||||
-rw-r--r-- | apps/plugins/png/crc32_png.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/png/SOURCES b/apps/plugins/png/SOURCES index 59f0ab656d..94805a5623 100644 --- a/apps/plugins/png/SOURCES +++ b/apps/plugins/png/SOURCES @@ -1,5 +1,5 @@ adler32.c -crc32.c +crc32_png.c inffast.c inflate.c inftrees.c diff --git a/apps/plugins/png/crc32_png.c b/apps/plugins/png/crc32_png.c index f658a9ef55..a76f49d35c 100644 --- a/apps/plugins/png/crc32_png.c +++ b/apps/plugins/png/crc32_png.c @@ -158,9 +158,9 @@ local void make_crc_table() { FILE *out; - out = fopen("crc32.h", "w"); + out = fopen("crc32_png.h", "w"); if (out == NULL) return; - fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n"); + fprintf(out, "/* crc32_png.h -- tables for rapid CRC calculation\n"); fprintf(out, " * Generated automatically by crc32.c\n */\n\n"); fprintf(out, "local const unsigned long FAR "); fprintf(out, "crc_table[TBLS][256] =\n{\n {\n"); @@ -196,7 +196,7 @@ local void write_table(out, table) /* ======================================================================== * Tables of CRC-32s of all single-byte values, made by make_crc_table(). */ -#include "crc32.h" +#include "crc32_png.h" #endif /* DYNAMIC_CRC_TABLE */ /* ========================================================================= |