diff options
Diffstat (limited to 'host/lib/version.cpp')
-rw-r--r-- | host/lib/version.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
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 <uhd/version.hpp> -#include <uhd/utils/static.hpp> #include <uhd/utils/log.hpp> +#include <uhd/utils/static.hpp> +#include <uhd/version.hpp> #include <boost/version.hpp> #include <iostream> -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 |