diff options
-rw-r--r-- | apps/language.c | 10 | ||||
-rw-r--r-- | apps/language.h | 9 |
2 files changed, 10 insertions, 9 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) |
diff --git a/apps/language.h b/apps/language.h index 0203b15796..a35387cf49 100644 --- a/apps/language.h +++ b/apps/language.h | |||
@@ -21,15 +21,6 @@ | |||
21 | * | 21 | * |
22 | ****************************************************************************/ | 22 | ****************************************************************************/ |
23 | 23 | ||
24 | /* The following header is generated by the build system and only defines | ||
25 | MAX_LANGUAGE_SIZE to be the size of the largest currently available | ||
26 | language! */ | ||
27 | #include "max_language_size.h" | ||
28 | |||
29 | /* both these must match the two initial bytes in the binary lang file */ | ||
30 | #define LANGUAGE_COOKIE 0x1a | ||
31 | #define LANGUAGE_VERSION 0x04 | ||
32 | |||
33 | /* Initialize language array with the builtin strings */ | 24 | /* Initialize language array with the builtin strings */ |
34 | void lang_init(void); | 25 | void lang_init(void); |
35 | 26 | ||