From 075811e58836bc82de3052d064e9f0aa9335b6e7 Mon Sep 17 00:00:00 2001 From: Kurtis Rader Date: Sat, 30 Apr 2016 18:37:19 -0700 Subject: 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. --- src/fish_version.cpp | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/fish_version.cpp') 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; } -- cgit v1.2.3