aboutsummaryrefslogtreecommitdiff
path: root/versionprint.c
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2018-04-14 23:55:29 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2018-04-14 23:55:29 +0900
commit7035a6ef2acb08b414ba36b62afcad58e14b371e (patch)
tree070f34b95f9117ce031f71ec16210f2cc3432869 /versionprint.c
parenta771a6f083d450c9cbba7367a08602c0a4bd6abc (diff)
updated gitignore
Diffstat (limited to 'versionprint.c')
-rwxr-xr-xversionprint.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/versionprint.c b/versionprint.c
new file mode 100755
index 0000000..cdc9b53
--- /dev/null
+++ b/versionprint.c
@@ -0,0 +1,9 @@
+#!/usr/bin/tcc -run
+#include "version.h"
+#include <stdio.h>
+
+int main(void) {
+ puts(FMPLAYER_VERSION_STR);
+ return 0;
+}
+