From 854291dcb1d948a82eca452dfb047e798c2f031f Mon Sep 17 00:00:00 2001 From: wr61 Date: Sun, 26 Mar 2006 19:23:04 +0000 Subject: 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 --- Makefile | 2 +- muggle.c | 6 +++--- 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 #include -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) -- cgit v1.2.3