mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-22 01:59:02 +00:00
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:
parent
e2d0553f3e
commit
5321a41fe1
@ -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;
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user