The version_time variable is itself const. I.e., constant pointer to constant data.

This commit is contained in:
Steve Checkoway
2007-02-04 02:08:25 +00:00
parent 113a4f0eca
commit ea316d22a0
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -843,7 +843,7 @@ static void MountTreeOfZips( const RString &dir )
#if defined(HAVE_VERSION_INFO) #if defined(HAVE_VERSION_INFO)
extern unsigned long version_num; extern unsigned long version_num;
extern const char *version_time; extern const char *const version_time;
#endif #endif
static void WriteLogHeader() static void WriteLogHeader()
@@ -24,7 +24,7 @@
#if defined(HAVE_VERSION_INFO) #if defined(HAVE_VERSION_INFO)
extern const unsigned long version_num; extern const unsigned long version_num;
extern const char *version_time; extern const char *const version_time;
#endif #endif
const char *g_pCrashHandlerArgv0 = NULL; const char *g_pCrashHandlerArgv0 = NULL;