From 5a8d5a56cbde43797e69457d7db98fb6c23e8b70 Mon Sep 17 00:00:00 2001 From: qiuyiuestc Date: Tue, 23 Nov 2010 01:20:20 +0000 Subject: update module git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1097 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- include/rtdef.h | 2 +- include/rtthread.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include') 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 /* -- cgit v1.3.1