diff options
| author | [email protected] <[email protected]> | 2011-05-16 01:18:43 +0000 |
|---|---|---|
| committer | [email protected] <[email protected]> | 2011-05-16 01:18:43 +0000 |
| commit | 9faa3d99892064027af4cb27885283e0c249ee1f (patch) | |
| tree | c6ede62750206afe8b5f72f2c543193fd593b6ca /components | |
| parent | 8a9792317f066056123b6555d0c1e834f1c8162d (diff) | |
eliminate compile warning
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1407 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
| -rw-r--r-- | components/finsh/cmd.c | 4 | ||||
| -rw-r--r-- | components/libdl/dlopen.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/components/finsh/cmd.c b/components/finsh/cmd.c index effa5c654f..6052c2e1ae 100644 --- a/components/finsh/cmd.c +++ b/components/finsh/cmd.c @@ -386,7 +386,7 @@ int list_module(void) FINSH_FUNCTION_EXPORT(list_module, list module in system) -int list_module_obj(const char* name) +int list_mod_detail(const char* name) { int i; struct rt_module *module; @@ -480,7 +480,7 @@ int list_module_obj(const char* name) return 0; } -FINSH_FUNCTION_EXPORT(list_module_obj, list module objects in system) +FINSH_FUNCTION_EXPORT(list_mod_detail, list module objects in system) #endif int list() diff --git a/components/libdl/dlopen.c b/components/libdl/dlopen.c index f31623083f..52c860100c 100644 --- a/components/libdl/dlopen.c +++ b/components/libdl/dlopen.c @@ -15,7 +15,7 @@ #include <rtthread.h>
#include <rtm.h>
-#define MODULE_ROOT_DIR "/module"
+#define MODULE_ROOT_DIR "/module/lib"
void* dlopen(const char *filename, int flags)
{
|
