aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib/utils/load_modules.cpp
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@ettus.com>2015-01-28 22:10:10 +0100
committerMartin Braun <martin.braun@ettus.com>2015-01-28 22:10:10 +0100
commitdb3fac73beb30ceaaf6a275d9668a38af3b839f5 (patch)
treed0713571a7a4d14d38c4d6c59337e6fbfca1f4a1 /host/lib/utils/load_modules.cpp
parent156c21206e8bccf4b5680a62c28a7dc7544aa9be (diff)
parent75d519706b9b0956307a6a4bdc53c36376f19f03 (diff)
downloaduhd-db3fac73beb30ceaaf6a275d9668a38af3b839f5.tar.gz
uhd-db3fac73beb30ceaaf6a275d9668a38af3b839f5.tar.bz2
uhd-db3fac73beb30ceaaf6a275d9668a38af3b839f5.zip
Merge paths-fix branch into maint.
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);
}
}