summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorwuyangyong <[email protected]>2010-12-02 03:36:19 +0000
committerwuyangyong <[email protected]>2010-12-02 03:36:19 +0000
commit80af4ee98ee554c590a7b7a308e5a80e5b391646 (patch)
tree6f6ca1393a3f07d0a1b43f3846b34feba946e467 /src
parent6ae0b45820630973ec992270205b18b1971d47f0 (diff)
add __weak for rt_hw_console_output (IAR)
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1172 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src')
-rw-r--r--src/kservice.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kservice.c b/src/kservice.c
index af293cabd7..c0ff6d2f6c 100644
--- a/src/kservice.c
+++ b/src/kservice.c
@@ -942,7 +942,7 @@ void rt_hw_console_output(const char* str)
#elif defined(__CC_ARM)
__weak void rt_hw_console_output(const char* str)
#elif defined(__IAR_SYSTEMS_ICC__)
-void rt_hw_console_output(const char* str)
+__weak void rt_hw_console_output(const char* str)
#endif
{
/* empty console output */