diff options
author | Michael West <michael.west@ettus.com> | 2013-11-20 12:14:24 -0800 |
---|---|---|
committer | Michael West <michael.west@ettus.com> | 2013-11-20 12:14:24 -0800 |
commit | 6ff935e6955be81f30606d0444a265ea03dc6f5d (patch) | |
tree | 27745786f543858b99d22de1d87f87da9f905f15 /host/examples/test_messages.cpp | |
parent | 1fe3db82d6d292a186fe26e728dfdf68db4db056 (diff) | |
parent | 265e94473130ffefc95d4eb67e8d46ce50982be4 (diff) | |
download | uhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.tar.gz uhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.tar.bz2 uhd-6ff935e6955be81f30606d0444a265ea03dc6f5d.zip |
Merge remote branch
Diffstat (limited to 'host/examples/test_messages.cpp')
-rw-r--r-- | host/examples/test_messages.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/host/examples/test_messages.cpp b/host/examples/test_messages.cpp index 0815d0b1c..4240e830b 100644 --- a/host/examples/test_messages.cpp +++ b/host/examples/test_messages.cpp @@ -1,5 +1,5 @@ // -// Copyright 2010-2011 Ettus Research LLC +// Copyright 2010-2013 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 @@ -15,6 +15,7 @@ // along with this program. If not, see <http://www.gnu.org/licenses/>. // +#include <uhd/config.hpp> #include <uhd/utils/thread_priority.hpp> #include <uhd/utils/safe_main.hpp> #include <uhd/utils/static.hpp> @@ -84,7 +85,7 @@ bool test_late_command_message(uhd::usrp::multi_usrp::sptr usrp, uhd::rx_streame * Issue a stream command with num samps and more. * We expect to get an inline broken chain message. */ -bool test_broken_chain_message(uhd::usrp::multi_usrp::sptr usrp __attribute__ ((unused)), uhd::rx_streamer::sptr rx_stream, uhd::tx_streamer::sptr){ +bool test_broken_chain_message(UHD_UNUSED(uhd::usrp::multi_usrp::sptr usrp), uhd::rx_streamer::sptr rx_stream, uhd::tx_streamer::sptr){ std::cout << "Test broken chain message... " << std::flush; uhd::stream_cmd_t stream_cmd(uhd::stream_cmd_t::STREAM_MODE_NUM_SAMPS_AND_MORE); |