summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-11-23 02:41:44 +0000
committer[email protected] <[email protected]>2012-11-23 02:41:44 +0000
commit0cdbd69d56a6e105aef609872d5c932ad1f22afd (patch)
tree52ea76079488b9ab8c3591c7c055e53c294c2ece /src
parent44eaae8c80cfd320bb81fce14aec60f207fb240f (diff)
fix IAR compiler error.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2434 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
-rw-r--r--src/kservice.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/kservice.c b/src/kservice.c
index 991cf5016c..f7de193e70 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -16,6 +16,7 @@
* fix gcc compiling issue.
* 2010-04-15 Bernard remove weak definition on ICCM16C compiler
* 2012-07-18 Arda add the alignment display for signed integer
+ * 2012-11-23 Bernard fix IAR compiler error.
*/
#include <rtthread.h>
@@ -1055,6 +1056,7 @@ __weak void rt_hw_console_output(const char *str)
#if __VER__ > 540
__weak
#endif
+void rt_hw_console_output(const char *str)
#else
void rt_hw_console_output(const char *str)
#endif