summaryrefslogtreecommitdiff
path: root/rbutil/rbutilqt/irivertools
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-29 21:59:11 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2007-07-29 21:59:11 +0000
commit206a5d3585fcda50692fae2d60b2fba639c373b1 (patch)
treecdbb3bb39131d28335323943f08aa78c8ac3b7d7 /rbutil/rbutilqt/irivertools
parentf119dc0d8202f8a000153fcf3558d336f2ff5c30 (diff)
move iriver checksums to its own file to remove unneeded inclusion and kill warnings. Tiny whitespace cleanup.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14070 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/irivertools')
-rw-r--r--rbutil/rbutilqt/irivertools/checksums.h39
-rw-r--r--rbutil/rbutilqt/irivertools/irivertools.h15
2 files changed, 39 insertions, 15 deletions
diff --git a/rbutil/rbutilqt/irivertools/checksums.h b/rbutil/rbutilqt/irivertools/checksums.h
new file mode 100644
index 0000000000..aab58f6bca
--- /dev/null
+++ b/rbutil/rbutilqt/irivertools/checksums.h
@@ -0,0 +1,39 @@
+/***************************************************************************
+ * __________ __ ___.
+ * Open \______ \ ____ ____ | | _\_ |__ _______ ___
+ * Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
+ * Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
+ * Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
+ * \/ \/ \/ \/ \/
+ * Module: rbutil
+ * File: irivertools.h
+ *
+ * Copyright (C) 2007 Dominik Wenger
+ *
+ * All files in this archive are subject to the GNU General Public License.
+ * See the file COPYING in the source tree root for full license agreement.
+ *
+ * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
+ * KIND, either express or implied.
+ *
+ ****************************************************************************/
+
+#ifndef CHECKSUMS_H
+#define CHECKSUMS_H
+
+/* precalculated checksums for H110/H115 */
+static struct sumpairs h100pairs[] = {
+#include "h100sums.h"
+};
+
+/* precalculated checksums for H120/H140 */
+static struct sumpairs h120pairs[] = {
+#include "h120sums.h"
+};
+
+/* precalculated checksums for H320/H340 */
+static struct sumpairs h300pairs[] = {
+#include "h300sums.h"
+};
+
+#endif
diff --git a/rbutil/rbutilqt/irivertools/irivertools.h b/rbutil/rbutilqt/irivertools/irivertools.h
index dda84b1c75..8ded0807f8 100644
--- a/rbutil/rbutilqt/irivertools/irivertools.h
+++ b/rbutil/rbutilqt/irivertools/irivertools.h
@@ -34,21 +34,6 @@ struct sumpairs {
char *patched;
};
-/* precalculated checksums for H110/H115 */
-static struct sumpairs h100pairs[] = {
-#include "h100sums.h"
-};
-
-/* precalculated checksums for H120/H140 */
-static struct sumpairs h120pairs[] = {
-#include "h120sums.h"
-};
-
-/* precalculated checksums for H320/H340 */
-static struct sumpairs h300pairs[] = {
-#include "h300sums.h"
-};
-
enum striptype
{