So, let's constify all globals in version.cpp...

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37594 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2011-02-11 00:46:49 +00:00
parent e2d0553f3e
commit 5321a41fe1
2 changed files with 7 additions and 7 deletions

View File

@ -12,15 +12,15 @@
#include <config.h>
///
char const * lyx_version = PACKAGE_VERSION;
extern char const * const lyx_version = PACKAGE_VERSION;
///
extern const int lyx_version_major = LYX_MAJOR_VERSION;
extern const int lyx_version_minor = LYX_MINOR_VERSION;
///
char const * lyx_release_date = LYX_DATE;
extern char const * const lyx_release_date = LYX_DATE;
/// Package identifier (lyx[-<version-suffix>])
char const * lyx_package = PACKAGE;
extern char const * const lyx_package = PACKAGE;
/// This is the version information shown by 'lyx --version'
char const * lyx_version_info = VERSION_INFO;
extern char const * const lyx_version_info = VERSION_INFO;

View File

@ -20,13 +20,13 @@ extern char const * lyx_version;
extern const int lyx_version_major;
extern const int lyx_version_minor;
///
extern char const * lyx_release_date;
extern char const * const lyx_release_date;
/// Package identifier (lyx[-<version-suffix>])
extern char const * lyx_package;
extern char const * const lyx_package;
/// This is the version information shown by 'lyx -version'
extern char const * lyx_version_info;
extern char const * const lyx_version_info;
//} // namespace lyx