From c0bb43a8a84599f4638df13b461659f79d980cc1 Mon Sep 17 00:00:00 2001 From: Nicholas Corgan Date: Mon, 22 Dec 2014 10:44:09 -0800 Subject: nirio/status: added UHD_API to status functions --- host/include/uhd/transport/nirio/status.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'host') diff --git a/host/include/uhd/transport/nirio/status.h b/host/include/uhd/transport/nirio/status.h index e4117ac73..917e66775 100644 --- a/host/include/uhd/transport/nirio/status.h +++ b/host/include/uhd/transport/nirio/status.h @@ -1,5 +1,5 @@ // -// Copyright 2013 Ettus Research LLC +// Copyright 2013-2014 Ettus Research LLC // // This program is free software: you can redistribute it and/or modify // it under the terms of the GNU General Public License as published by @@ -23,6 +23,7 @@ #include #include #include +#include #include #define ENABLE_EXTENDED_ERROR_INFO false @@ -40,9 +41,9 @@ struct nirio_err_info { static const size_t NIRIO_ERROR_TABLE_SIZE; }; -const std::string lookup_err_msg(nirio_status code); +UHD_API const std::string lookup_err_msg(nirio_status code); -void nirio_status_to_exception(const nirio_status& status, const std::string& message); +UHD_API void nirio_status_to_exception(const nirio_status& status, const std::string& message); }} #define nirio_status_fatal(status) ((status) < 0) -- cgit v1.2.3