aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/fish_version.cpp
diff options
context:
space:
mode:
authorGravatar Kurtis Rader <krader@skepticism.us>2016-04-30 18:37:19 -0700
committerGravatar Kurtis Rader <krader@skepticism.us>2016-04-30 19:52:13 -0700
commit075811e58836bc82de3052d064e9f0aa9335b6e7 (patch)
treefc6950d66ae0effa29e1b381508dfe9e52e948e3 /src/fish_version.cpp
parentaa8840b423177dfe3efbbee5bdc891ecf9f7d20f (diff)
restyle fish modules to match project style
Reduces lint errors from 60 to 60 (-0%). Line count from 5599 to 4925 (-12%). Another step in resolving issue #2902.
Diffstat (limited to 'src/fish_version.cpp')
-rw-r--r--src/fish_version.cpp18
1 files changed, 6 insertions, 12 deletions
diff --git a/src/fish_version.cpp b/src/fish_version.cpp
index c4eb15df..d371132f 100644
--- a/src/fish_version.cpp
+++ b/src/fish_version.cpp
@@ -1,18 +1,12 @@
-/** \file fish_version.c Fish version receiver.
-
- This file has a specific purpose of shortening compilation times when
- the only change is different `git describe` version.
-*/
-
+// Fish version receiver.
+//
+// This file has a specific purpose of shortening compilation times when
+// the only change is different `git describe` version.
#include "fish_version.h"
#ifndef FISH_BUILD_VERSION
#include "fish-build-version.h"
#endif
-/**
- * Return fish shell version.
- */
-const char *get_fish_version() {
- return FISH_BUILD_VERSION;
-}
+/// Return fish shell version.
+const char *get_fish_version() { return FISH_BUILD_VERSION; }