aboutsummaryrefslogtreecommitdiffstats
path: root/generate_version_h.sh
diff options
context:
space:
mode:
Diffstat (limited to 'generate_version_h.sh')
-rwxr-xr-xgenerate_version_h.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/generate_version_h.sh b/generate_version_h.sh
index fed5fa0..75df5a2 100755
--- a/generate_version_h.sh
+++ b/generate_version_h.sh
@@ -8,3 +8,4 @@ echo "#define VERSION \"$VERSION\""
echo "#define HASH \"$HASH\""
echo "#define BRANCH \"$BRANCH\""
echo "#define VERSION_FULL VERSION\"-\"HASH\" (\"BRANCH\")\""
+echo "char* version();"