mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
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
This commit is contained in:
parent
c616520dc5
commit
4317ff90a9
2 changed files with 10 additions and 9 deletions
|
@ -29,6 +29,16 @@ extern int printf(const char *format, ...);
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
#include "string.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];
|
static unsigned char language_buffer[MAX_LANGUAGE_SIZE];
|
||||||
|
|
||||||
void lang_init(void)
|
void lang_init(void)
|
||||||
|
|
|
@ -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 */
|
/* Initialize language array with the builtin strings */
|
||||||
void lang_init(void);
|
void lang_init(void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue