aboutsummaryrefslogtreecommitdiffhomepage
path: root/fish_version.h
diff options
context:
space:
mode:
authorGravatar Konrad Borowski <x.fix@o2.pl>2014-05-01 09:46:27 +0200
committerGravatar Konrad Borowski <x.fix@o2.pl>2014-05-01 09:46:27 +0200
commitf8e35de18d8d5ec78ad0f220afa1a5a4c8f827d7 (patch)
tree9af6ddb4cb2e1104d9ebb457b132bf0fbac378c9 /fish_version.h
parenta7facfb760ff3169e8a1a49078b98199f541f910 (diff)
Shorten compilation times
Now fish shell stores version is a small file called by other files. This means that a slight change which modifies one file won't cause many of files to recompile. The compilation unit is intentionally small, this is by design. The smaller it is, the faster it will recompile, and it will be compiled a lot.
Diffstat (limited to 'fish_version.h')
-rw-r--r--fish_version.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/fish_version.h b/fish_version.h
new file mode 100644
index 00000000..61938c16
--- /dev/null
+++ b/fish_version.h
@@ -0,0 +1,5 @@
+/** \file fish_version.h
+ Prototype for version receiver.
+*/
+
+const char *get_fish_version();