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 06e7846..a714ef7 100644 --- a/apps/language.c +++ b/apps/language.c @@ -29,6 +29,16 @@ extern int printf(const char *format, ...); #include "debug.h" #include "string.h" +/* The following header is generated by the build system and only defines + MAX_LANGUAGE_SIZE to be the size of the largest currently available + language! */ +#include "max_language_size.h" + +/* both these must match the two initial bytes in the binary lang file */ +#define LANGUAGE_COOKIE 0x1a +#define LANGUAGE_VERSION 0x04 + + static unsigned char language_buffer[MAX_LANGUAGE_SIZE]; void lang_init(void) diff --git a/apps/language.h b/apps/language.h index 0203b15..a35387c 100644 --- a/apps/language.h +++ b/apps/language.h @@ -21,15 +21,6 @@ * ****************************************************************************/ -/* The following header is generated by the build system and only defines - MAX_LANGUAGE_SIZE to be the size of the largest currently available - language! */ -#include "max_language_size.h" - -/* both these must match the two initial bytes in the binary lang file */ -#define LANGUAGE_COOKIE 0x1a -#define LANGUAGE_VERSION 0x04 - /* Initialize language array with the builtin strings */ void lang_init(void); |