1
0
Fork 0
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:
Daniel Stenberg 2002-05-29 10:05:27 +00:00
parent 0f60775ecd
commit 7b719114a1
2 changed files with 5 additions and 0 deletions

View file

@ -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
View file

@ -0,0 +1 @@
#define APPSVERSION "0.1"