summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNils Wallménius <nils@rockbox.org>2009-11-22 18:46:13 +0000
committerNils Wallménius <nils@rockbox.org>2009-11-22 18:46:13 +0000
commit1832def9b0b52b2a3385f9672aacc35dde9c389a (patch)
treec54019977f92874e7d23578fd1491e60c98b296f
parentf9e024065bdbb8f3be5dd95c126c8ae14cd88521 (diff)
Fix references to those files.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23710 a1c6a512-1295-4272-9138-f99709370657
-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 @@
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 */
/* =========================================================================