mdbx: minor cleanup version-info.

Change-Id: I1c208af0264ed6254d942b29b9e0fc25a745f4e0
This commit is contained in:
Leo Yuriev 2017-07-27 18:10:07 +03:00
parent c6fc062cfd
commit 0f37ae56d8
2 changed files with 4 additions and 4 deletions

4
mdbx.h
View File

@ -183,8 +183,8 @@ typedef struct mdbx_build_info {
const char *flags;
} mdbx_build_info;
extern LIBMDBX_API const struct mdbx_version_info mdbx_version;
extern LIBMDBX_API const struct mdbx_build_info mdbx_build;
extern LIBMDBX_API const mdbx_version_info mdbx_version;
extern LIBMDBX_API const mdbx_build_info mdbx_build;
/* The name of the lock file in the DB environment */
#define MDBX_LOCKNAME "/mdbx.lck"

View File

@ -21,7 +21,7 @@
#define MDBX_VERSION_RELEASE 0
#define MDBX_VERSION_REVISION 0
const struct mdbx_version_info mdbx_version = {
/*LIBMDBX_EXPORTS*/ const mdbx_version_info mdbx_version = {
MDBX_VERSION_MAJOR,
MDBX_VERSION_MINOR,
MDBX_VERSION_RELEASE,
@ -29,6 +29,6 @@ const struct mdbx_version_info mdbx_version = {
{"@MDBX_GIT_TIMESTAMP@", "@MDBX_GIT_TREE@", "@MDBX_GIT_COMMIT@",
"@MDBX_GIT_DESCRIBE@"}};
const struct mdbx_build_info mdbx_build = {
/*LIBMDBX_EXPORTS*/ const mdbx_build_info mdbx_build = {
"@MDBX_BUILD_TIMESTAMP@", "@MDBX_BUILD_TAGRET@", "@MDBX_BUILD_OPTIONS@",
"@MDBX_BUILD_COMPILER@", "@MDBX_BUILD_FLAGS@"};