summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorqiuyiuestc <[email protected]>2010-11-23 01:20:20 +0000
committerqiuyiuestc <[email protected]>2010-11-23 01:20:20 +0000
commit5a8d5a56cbde43797e69457d7db98fb6c23e8b70 (patch)
tree4c79dc433934660c6610508732b70312f33ceabf /include
parentc5c956a8189eb6f6a9ecd3500f645f50a6bc20d4 (diff)
update module
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1097 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'include')
-rw-r--r--include/rtdef.h2
-rw-r--r--include/rtthread.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/rtdef.h b/include/rtdef.h
index d50c94a76c..1cff976b49 100644
--- a/include/rtdef.h
+++ b/include/rtdef.h
@@ -377,7 +377,7 @@ struct rt_thread
*/
#define RT_MODULE_FLAG_WITHENTRY 0x00 /* with entry point */
-#define RT_MODULE_FLAG_WITHOUTENTRY 0x01 /* no entry point */
+#define RT_MODULE_FLAG_WITHOUTENTRY 0x01 /* without entry point */
struct rt_module
{
diff --git a/include/rtthread.h b/include/rtthread.h
index ce72bb82d8..ae5619445e 100644
--- a/include/rtthread.h
+++ b/include/rtthread.h
@@ -316,7 +316,7 @@ void *rt_module_realloc(void *ptr, rt_size_t size);
void rt_module_free(rt_module_t module, void *addr);
rt_module_t rt_module_self (void);
rt_err_t rt_module_set (rt_module_t module);
-rt_module_t rt_module_find(char* name);
+rt_module_t rt_module_find(const char* name);
#endif
/*