From ea316d22a0abaf4cc483e3e825878017c5671c70 Mon Sep 17 00:00:00 2001 From: Steve Checkoway Date: Sun, 4 Feb 2007 02:08:25 +0000 Subject: [PATCH] The version_time variable is itself const. I.e., constant pointer to constant data. --- stepmania/src/StepMania.cpp | 2 +- stepmania/src/archutils/Unix/CrashHandlerChild.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/StepMania.cpp b/stepmania/src/StepMania.cpp index b49471f7a2..398c1be3f0 100644 --- a/stepmania/src/StepMania.cpp +++ b/stepmania/src/StepMania.cpp @@ -843,7 +843,7 @@ static void MountTreeOfZips( const RString &dir ) #if defined(HAVE_VERSION_INFO) extern unsigned long version_num; -extern const char *version_time; +extern const char *const version_time; #endif static void WriteLogHeader() diff --git a/stepmania/src/archutils/Unix/CrashHandlerChild.cpp b/stepmania/src/archutils/Unix/CrashHandlerChild.cpp index a81dea46e3..c4b6ffdf87 100644 --- a/stepmania/src/archutils/Unix/CrashHandlerChild.cpp +++ b/stepmania/src/archutils/Unix/CrashHandlerChild.cpp @@ -24,7 +24,7 @@ #if defined(HAVE_VERSION_INFO) extern const unsigned long version_num; -extern const char *version_time; +extern const char *const version_time; #endif const char *g_pCrashHandlerArgv0 = NULL;