forked from len0rd/rockbox
APPSVERSION is defined in a stand-alone header file, and main.c sets
a global variable accordingly. Keep the header file clean, we want to be able to machine-generate it. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@785 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
0f60775ecd
commit
7b719114a1
2 changed files with 5 additions and 0 deletions
|
|
@ -35,6 +35,10 @@
|
|||
#include "mpeg.h"
|
||||
#include "main_menu.h"
|
||||
|
||||
#include "version.h"
|
||||
|
||||
char appsversion[]=APPSVERSION;
|
||||
|
||||
void app_main(void)
|
||||
{
|
||||
browse_root();
|
||||
|
|
|
|||
1
apps/version.h
Normal file
1
apps/version.h
Normal file
|
|
@ -0,0 +1 @@
|
|||
#define APPSVERSION "0.1"
|
||||
Loading…
Add table
Add a link
Reference in a new issue