summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b>2006-03-26 19:23:04 +0000
committerwr61 <wr61@e10066b5-e1e2-0310-b819-94efdf66514b>2006-03-26 19:23:04 +0000
commit854291dcb1d948a82eca452dfb047e798c2f031f (patch)
tree854907d011baee450ef2cf7b0f55448f95cb954a
parent3718c0c8709e384b7e0a5f2387860a197f9db86d (diff)
downloadvdr-plugin-muggle-854291dcb1d948a82eca452dfb047e798c2f031f.tar.gz
vdr-plugin-muggle-854291dcb1d948a82eca452dfb047e798c2f031f.tar.bz2
constify VERSION DESCRIPTION MAINMENUENTRY
git-svn-id: https://vdr-muggle.svn.sourceforge.net/svnroot/vdr-muggle/trunk/muggle-plugin@935 e10066b5-e1e2-0310-b819-94efdf66514b
-rw-r--r--Makefile2
-rw-r--r--muggle.c6
2 files changed, 4 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 2871744..4c1dd4e 100644
--- a/Makefile
+++ b/Makefile
@@ -30,7 +30,7 @@ HAVE_MYSQL = 1
### The version number of this plugin (taken from the main source file):
-VERSION = $(shell grep 'static const char \*VERSION *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
+VERSION = $(shell grep 'static const char VERSION\[\] *=' $(PLUGIN).c | awk '{ print $$6 }' | sed -e 's/[";]//g')
### The C++ compiler and options:
diff --git a/muggle.c b/muggle.c
index d40ad24..faa3174 100644
--- a/muggle.c
+++ b/muggle.c
@@ -21,9 +21,9 @@
#include <getopt.h>
#include <config.h>
-static const char *VERSION = "0.1.10";
-static const char *DESCRIPTION = "Media juggle plugin for VDR";
-static const char *MAINMENUENTRY = "Muggle";
+static const char VERSION[] = "0.1.10";
+static const char DESCRIPTION[] = "Media juggle plugin for VDR";
+static const char MAINMENUENTRY[] = "Muggle";
const char *
mgMuggle::Version (void)