mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-21 23:09:40 +00:00
3rd attempt on lyx_version_major/minor.
An object or reference that is explicitly declared const and neither explicitly declared extern nor previously declared to have external linkage has internal linkage. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@37593 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
c87247ed39
commit
e2d0553f3e
@ -14,8 +14,8 @@
|
|||||||
///
|
///
|
||||||
char const * lyx_version = PACKAGE_VERSION;
|
char const * lyx_version = PACKAGE_VERSION;
|
||||||
///
|
///
|
||||||
int lyx_version_major = LYX_MAJOR_VERSION;
|
extern const int lyx_version_major = LYX_MAJOR_VERSION;
|
||||||
int lyx_version_minor = LYX_MINOR_VERSION;
|
extern const int lyx_version_minor = LYX_MINOR_VERSION;
|
||||||
///
|
///
|
||||||
char const * lyx_release_date = LYX_DATE;
|
char const * lyx_release_date = LYX_DATE;
|
||||||
|
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
///About dialog, inset info, export headers
|
///About dialog, inset info, export headers
|
||||||
extern char const * lyx_version;
|
extern char const * lyx_version;
|
||||||
//.lyx header. We don't want lyx_version because of VCS conflicts.
|
//.lyx header. We don't want lyx_version because of VCS conflicts.
|
||||||
extern int lyx_version_major;
|
extern const int lyx_version_major;
|
||||||
extern int lyx_version_minor;
|
extern const int lyx_version_minor;
|
||||||
///
|
///
|
||||||
extern char const * lyx_release_date;
|
extern char const * lyx_release_date;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user