summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorWerner Almesberger <werner@almesberger.net>2016-08-19 22:53:32 (GMT)
committerWerner Almesberger <werner@almesberger.net>2016-08-19 22:53:32 (GMT)
commit74400a651a461cd6181ed20e4074cc1b3bd04aab (patch)
treea46ac0e17e0e40bfa02f17abe01650dc6d1e5e4c /version.h
parent5eab5cf2cc5c7e19b05dc2c0c88fa5c975e5230c (diff)
downloadeeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.zip
eeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.tar.gz
eeshow-74400a651a461cd6181ed20e4074cc1b3bd04aab.tar.bz2
eeshow/: eeshow -V prints the commit from which eeshow was built
Diffstat (limited to 'version.h')
-rw-r--r--version.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/version.h b/version.h
new file mode 100644
index 0000000..deb101f
--- /dev/null
+++ b/version.h
@@ -0,0 +1,18 @@
+/*
+ * version.h - GIT version
+ *
+ * Written 2016 by Werner Almesberger
+ * Copyright 2016 by Werner Almesberger
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+#ifndef VERSION_H
+#define VERSION_H
+
+extern const char *version;
+
+#endif /* !VERSION_H */