diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtdef.h | 2 | ||||
| -rw-r--r-- | include/rtthread.h | 2 |
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 /* |
