From 7b719114a10225613470296d10299c38545e6a65 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Wed, 29 May 2002 10:05:27 +0000 Subject: 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 --- apps/main.c | 4 ++++ apps/version.h | 1 + 2 files changed, 5 insertions(+) create mode 100644 apps/version.h diff --git a/apps/main.c b/apps/main.c index 86c7be424e..d7adb46b64 100644 --- a/apps/main.c +++ b/apps/main.c @@ -35,6 +35,10 @@ #include "mpeg.h" #include "main_menu.h" +#include "version.h" + +char appsversion[]=APPSVERSION; + void app_main(void) { browse_root(); diff --git a/apps/version.h b/apps/version.h new file mode 100644 index 0000000000..6837752e88 --- /dev/null +++ b/apps/version.h @@ -0,0 +1 @@ +#define APPSVERSION "0.1" -- cgit v1.2.3