aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/load_modules.cpp
diff options
context:
space:
mode:
authorBen Hilburn <ben.hilburn@ettus.com>2015-01-28 13:23:42 -0800
committerBen Hilburn <ben.hilburn@ettus.com>2015-01-28 13:23:42 -0800
commitb92662d5780f3a2d872e5ab96efc0760cce1fe53 (patch)
tree2a4b03ad89ea68619010ecee0115c702fb2354d8 /host/lib/utils/load_modules.cpp
parentebe7169dcecd1b6899734cefdf5771612067fd48 (diff)
parentdb3fac73beb30ceaaf6a275d9668a38af3b839f5 (diff)
downloaduhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.tar.gz
uhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.tar.bz2
uhd-b92662d5780f3a2d872e5ab96efc0760cce1fe53.zip
Merge branch 'maint' into master
Resolved Conflicts: host/docs/usrp_e3x0.dox host/include/uhd/utils/paths.hpp host/lib/transport/nirio/nifpga_lvbitx.cpp host/lib/usrp/b200/b200_impl.cpp host/lib/utils/paths.cpp
Diffstat (limited to 'host/lib/utils/load_modules.cpp')
-rw-r--r--host/lib/utils/load_modules.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/host/lib/utils/load_modules.cpp b/host/lib/utils/load_modules.cpp
index bee0d5304..aba3adeed 100644
--- a/host/lib/utils/load_modules.cpp
+++ b/host/lib/utils/load_modules.cpp
@@ -15,6 +15,7 @@
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
+#include <uhd/utils/paths.hpp>
#include <uhd/utils/static.hpp>
#include <uhd/exception.hpp>
#include <boost/format.hpp>
@@ -97,13 +98,11 @@ static void load_module_path(const fs::path &path){
}
}
-std::vector<fs::path> get_module_paths(void); //defined in paths.cpp
-
/*!
* Load all the modules given in the module paths.
*/
UHD_STATIC_BLOCK(load_modules){
- BOOST_FOREACH(const fs::path &path, get_module_paths()){
+ BOOST_FOREACH(const fs::path &path, uhd::get_module_paths()){
load_module_path(path);
}
}