subsurface/version.c
Lubomir I. Ivanov c45768a09f add and use a version.c / version.h pair
version.c is now object code which is recompiled each time
ssrf-version.h changes, while the interface file version.h
remains that same at all times and files which include it
will not need to be recompiled.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2015-02-15 13:26:51 -08:00

16 lines
252 B
C

#include "ssrf-version.h"
const char *subsurface_version(void)
{
return VERSION_STRING;
}
const char *subsurface_git_version(void)
{
return GIT_VERSION_STRING;
}
const char *subsurface_canonical_version(void)
{
return CANONICAL_VERSION_STRING;
}