aboutsummaryrefslogtreecommitdiffstats
path: root/host
diff options
context:
space:
mode:
authorNicholas Corgan <nick.corgan@ettus.com>2014-12-22 10:44:09 -0800
committerMartin Braun <martin.braun@ettus.com>2015-01-28 22:16:36 +0100
commitc0bb43a8a84599f4638df13b461659f79d980cc1 (patch)
tree86286c795ca16240c625a1b8803b04ceaa4ae0f2 /host
parentdb3fac73beb30ceaaf6a275d9668a38af3b839f5 (diff)
downloaduhd-c0bb43a8a84599f4638df13b461659f79d980cc1.tar.gz
uhd-c0bb43a8a84599f4638df13b461659f79d980cc1.tar.bz2
uhd-c0bb43a8a84599f4638df13b461659f79d980cc1.zip
nirio/status: added UHD_API to status functions
Diffstat (limited to 'host')
-rw-r--r--host/include/uhd/transport/nirio/status.h7
1 files changed, 4 insertions, 3 deletions
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 <stddef.h>
#include <stdint.h>
#include <string>
+#include <uhd/config.hpp>
#include <uhd/exception.hpp>
#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)