mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 21:20:19 +00:00
2882a1ef41
It no longer makes sense to lie about the version. If you are running a product build, then the canonical version is the same version as the plain version used to be. And in either case it makes much more sense to simply log the full version information. We used to have the differently styled versions for different OSs, but I don't think this is needed anymore. Let's hope this doesn't go down as one of these "famous last words" moments... Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
11 lines
186 B
C
11 lines
186 B
C
#include "ssrf-version.h"
|
|
|
|
const char *subsurface_git_version(void)
|
|
{
|
|
return GIT_VERSION_STRING;
|
|
}
|
|
|
|
const char *subsurface_canonical_version(void)
|
|
{
|
|
return CANONICAL_VERSION_STRING;
|
|
}
|