summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--apps/plugins/png/SOURCES2
-rw-r--r--apps/plugins/png/crc32_png.c6
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 @@
1adler32.c 1adler32.c
2crc32.c 2crc32_png.c
3inffast.c 3inffast.c
4inflate.c 4inflate.c
5inftrees.c 5inftrees.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()
158 { 158 {
159 FILE *out; 159 FILE *out;
160 160
161 out = fopen("crc32.h", "w"); 161 out = fopen("crc32_png.h", "w");
162 if (out == NULL) return; 162 if (out == NULL) return;
163 fprintf(out, "/* crc32.h -- tables for rapid CRC calculation\n"); 163 fprintf(out, "/* crc32_png.h -- tables for rapid CRC calculation\n");
164 fprintf(out, " * Generated automatically by crc32.c\n */\n\n"); 164 fprintf(out, " * Generated automatically by crc32.c\n */\n\n");
165 fprintf(out, "local const unsigned long FAR "); 165 fprintf(out, "local const unsigned long FAR ");
166 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n"); 166 fprintf(out, "crc_table[TBLS][256] =\n{\n {\n");
@@ -196,7 +196,7 @@ local void write_table(out, table)
196/* ======================================================================== 196/* ========================================================================
197 * Tables of CRC-32s of all single-byte values, made by make_crc_table(). 197 * Tables of CRC-32s of all single-byte values, made by make_crc_table().
198 */ 198 */
199#include "crc32.h" 199#include "crc32_png.h"
200#endif /* DYNAMIC_CRC_TABLE */ 200#endif /* DYNAMIC_CRC_TABLE */
201 201
202/* ========================================================================= 202/* =========================================================================