From 876d4150aa3da531ddd687b48afada6e43f79146 Mon Sep 17 00:00:00 2001 From: Martin Braun Date: Mon, 2 Mar 2020 15:25:13 -0800 Subject: uhd: Apply clang-format against all .cpp and .hpp files in host/ Note: template_lvbitx.{cpp,hpp} need to be excluded from the list of files that clang-format gets applied against. --- host/lib/version.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'host/lib/version.cpp') diff --git a/host/lib/version.cpp b/host/lib/version.cpp index 016c46a9f..80121b271 100644 --- a/host/lib/version.cpp +++ b/host/lib/version.cpp @@ -5,20 +5,23 @@ // SPDX-License-Identifier: GPL-3.0-or-later // -#include -#include #include +#include +#include #include #include -std::string uhd::get_version_string(void){ +std::string uhd::get_version_string(void) +{ return "@UHD_VERSION@"; } -std::string uhd::get_abi_string(void){ +std::string uhd::get_abi_string(void) +{ return UHD_VERSION_ABI_STRING; } -std::string uhd::get_component(void){ +std::string uhd::get_component(void) +{ return "@UHD_COMPONENT@"; } \ No newline at end of file -- cgit v1.2.3