summaryrefslogtreecommitdiff
path: root/include/version.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/version.h')
-rw-r--r--include/version.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/version.h b/include/version.h
new file mode 100644
index 00000000..09fd44ae
--- /dev/null
+++ b/include/version.h
@@ -0,0 +1,8 @@
+#define VERSION "1.3.4"
+
+static void
+version(const char *progname)
+{
+ printf("%s " VERSION "\n", progname);
+}
+