summaryrefslogtreecommitdiffstats
path: root/lib/usrp
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2010-01-13 19:35:38 -0800
committerJosh Blum <josh@joshknows.com>2010-01-13 19:35:38 -0800
commitb52880892d1a85203e58cdb049877e7ae4c16663 (patch)
tree5ef463525c9633bfbe7eadb4b3da5b1188bb5142 /lib/usrp
parent24d95c3f2cea168d1d314af29839d88cc16d3c7f (diff)
downloaduhd-b52880892d1a85203e58cdb049877e7ae4c16663.tar.gz
uhd-b52880892d1a85203e58cdb049877e7ae4c16663.tar.bz2
uhd-b52880892d1a85203e58cdb049877e7ae4c16663.zip
Added strict compiler flags.
Made changes to meet compilation. Added test to verify ip and mac addr code.
Diffstat (limited to 'lib/usrp')
-rw-r--r--lib/usrp/dboard/base.cpp8
-rw-r--r--lib/usrp/dboard/basic.cpp8
2 files changed, 8 insertions, 8 deletions
diff --git a/lib/usrp/dboard/base.cpp b/lib/usrp/dboard/base.cpp
index 3166cdedc..c3fc332c9 100644
--- a/lib/usrp/dboard/base.cpp
+++ b/lib/usrp/dboard/base.cpp
@@ -38,11 +38,11 @@ rx_base::~rx_base(void){
/* NOP */
}
-void rx_base::tx_get(const wax::type &key, wax::type &val){
+void rx_base::tx_get(const wax::type &, wax::type &){
throw std::runtime_error("cannot call tx_get on a rx dboard");
}
-void rx_base::tx_set(const wax::type &key, const wax::type &val){
+void rx_base::tx_set(const wax::type &, const wax::type &){
throw std::runtime_error("cannot call tx_set on a rx dboard");
}
@@ -58,10 +58,10 @@ tx_base::~tx_base(void){
/* NOP */
}
-void tx_base::rx_get(const wax::type &key, wax::type &val){
+void tx_base::rx_get(const wax::type &, wax::type &){
throw std::runtime_error("cannot call rx_get on a tx dboard");
}
-void tx_base::rx_set(const wax::type &key, const wax::type &val){
+void tx_base::rx_set(const wax::type &, const wax::type &){
throw std::runtime_error("cannot call rx_set on a tx dboard");
}
diff --git a/lib/usrp/dboard/basic.cpp b/lib/usrp/dboard/basic.cpp
index 120b637b2..1c746815c 100644
--- a/lib/usrp/dboard/basic.cpp
+++ b/lib/usrp/dboard/basic.cpp
@@ -16,11 +16,11 @@ basic_rx::~basic_rx(void){
/* NOP */
}
-void basic_rx::rx_get(const wax::type &key, wax::type &val){
+void basic_rx::rx_get(const wax::type &, wax::type &){
/* TODO */
}
-void basic_rx::rx_set(const wax::type &key, const wax::type &val){
+void basic_rx::rx_set(const wax::type &, const wax::type &){
/* TODO */
}
@@ -36,10 +36,10 @@ basic_tx::~basic_tx(void){
/* NOP */
}
-void basic_tx::tx_get(const wax::type &key, wax::type &val){
+void basic_tx::tx_get(const wax::type &, wax::type &){
/* TODO */
}
-void basic_tx::tx_set(const wax::type &key, const wax::type &val){
+void basic_tx::tx_set(const wax::type &, const wax::type &){
/* TODO */
}