aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-core/version.c
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-core/version.c')
-rw-r--r--subsurface-core/version.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/subsurface-core/version.c b/subsurface-core/version.c
new file mode 100644
index 000000000..5b54bf4c7
--- /dev/null
+++ b/subsurface-core/version.c
@@ -0,0 +1,16 @@
+#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;
+}