From 173a37ed403479efcfef347bed7e9f1edcc435be Mon Sep 17 00:00:00 2001 From: scop Date: Sat, 22 Apr 2006 11:24:28 +0000 Subject: Constness tuning. --- Makefile | 4 ++-- dxr3.c | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 8234dc3..3bef7ec 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # # Makefile for a Video Disk Recorder plugin # -# $Id: Makefile,v 1.1.2.23 2006/04/19 21:57:35 scop Exp $ +# $Id: Makefile,v 1.1.2.24 2006/04/22 11:24:28 scop Exp $ # The official name of this plugin. # This name will be used in the '-P...' option of VDR to load the plugin. @@ -11,7 +11,7 @@ PLUGIN = dxr3 ### 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/dxr3.c b/dxr3.c index 5a5c830..40df9aa 100644 --- a/dxr3.c +++ b/dxr3.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: dxr3.c,v 1.1.2.24 2006/04/19 21:57:35 scop Exp $ + * $Id: dxr3.c,v 1.1.2.25 2006/04/22 11:24:28 scop Exp $ * */ @@ -15,9 +15,9 @@ #include "dxr3.h" #include "dxr3i18n.h" -static const char *VERSION = "0.2.6-cvs"; -static const char *DESCRIPTION = "Hardware MPEG decoder"; -static const char *MAINMENUENTRY = "DXR3"; +static const char VERSION[] = "0.2.6-cvs"; +static const char DESCRIPTION[] = "Hardware MPEG decoder"; +static const char MAINMENUENTRY[] = "DXR3"; #if VDRVERSNUM && VDRVERSNUM < 10342 #error "This version of the DXR3 plugin needs VDR version >= 1.3.42" -- cgit v1.2.3