diff options
author | Nils Wallménius <nils@rockbox.org> | 2008-12-03 12:14:46 +0000 |
---|---|---|
committer | Nils Wallménius <nils@rockbox.org> | 2008-12-03 12:14:46 +0000 |
commit | 4317ff90a92ffa91b4aa457410d40da338182436 (patch) | |
tree | a12443b5998c9947d96ab1468f0f2d81b2ef3a5f /apps/language.c | |
parent | c616520dc5caec6acd3430381fcc9495e1562bc4 (diff) | |
download | rockbox-4317ff90a92ffa91b4aa457410d40da338182436.tar.gz rockbox-4317ff90a92ffa91b4aa457410d40da338182436.zip |
Move #defines and #include into c file as this is the only place they are used
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19313 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/language.c')
-rw-r--r-- | apps/language.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/language.c b/apps/language.c index 06e7846e8d..a714ef7d90 100644 --- a/apps/language.c +++ b/apps/language.c | |||
@@ -29,6 +29,16 @@ extern int printf(const char *format, ...); | |||
29 | #include "debug.h" | 29 | #include "debug.h" |
30 | #include "string.h" | 30 | #include "string.h" |
31 | 31 | ||
32 | /* The following header is generated by the build system and only defines | ||
33 | MAX_LANGUAGE_SIZE to be the size of the largest currently available | ||
34 | language! */ | ||
35 | #include "max_language_size.h" | ||
36 | |||
37 | /* both these must match the two initial bytes in the binary lang file */ | ||
38 | #define LANGUAGE_COOKIE 0x1a | ||
39 | #define LANGUAGE_VERSION 0x04 | ||
40 | |||
41 | |||
32 | static unsigned char language_buffer[MAX_LANGUAGE_SIZE]; | 42 | static unsigned char language_buffer[MAX_LANGUAGE_SIZE]; |
33 | 43 | ||
34 | void lang_init(void) | 44 | void lang_init(void) |