aboutsummaryrefslogtreecommitdiff
path: root/libnitrokey
diff options
context:
space:
mode:
authorSzczepan Zalega <szczepan@nitrokey.com>2018-06-19 14:56:33 +0200
committerSzczepan Zalega <szczepan@nitrokey.com>2018-06-19 14:56:33 +0200
commit35ba2261ddeac3881dc7d4f14b737947a19a4b9b (patch)
tree0547232f9f4ad035c1be574c772163e148ad4e07 /libnitrokey
parent6e3ae3175b34679cf1e84fc6dc5b9ebe6a9c0478 (diff)
downloadlibnitrokey-35ba2261ddeac3881dc7d4f14b737947a19a4b9b.tar.gz
libnitrokey-35ba2261ddeac3881dc7d4f14b737947a19a4b9b.tar.bz2
Move implementation from header back to compilation unit
Signed-off-by: Szczepan Zalega <szczepan@nitrokey.com>
Diffstat (limited to 'libnitrokey')
-rw-r--r--libnitrokey/version.h (renamed from libnitrokey/version.h.in)12
1 files changed, 3 insertions, 9 deletions
diff --git a/libnitrokey/version.h.in b/libnitrokey/version.h
index 20c3179..6547af0 100644
--- a/libnitrokey/version.h.in
+++ b/libnitrokey/version.h
@@ -23,17 +23,11 @@
#define LIBNITROKEY_VERSION_H
namespace nitrokey {
-unsigned int get_major_library_version() {
- return @PROJECT_VERSION_MAJOR@;
-}
+ unsigned int get_major_library_version();
-unsigned int get_minor_library_version() {
- return @PROJECT_VERSION_MINOR@;
-}
+ unsigned int get_minor_library_version();
-const char* get_library_version() {
- return "@PROJECT_VERSION_GIT@";
-}
+ const char* get_library_version();
}
#endif