From 0cdbd69d56a6e105aef609872d5c932ad1f22afd Mon Sep 17 00:00:00 2001 From: "bernard.xiong@gmail.com" Date: Fri, 23 Nov 2012 02:41:44 +0000 Subject: [PATCH] fix IAR compiler error. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2434 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/kservice.c | 2 ++ 1 file changed, 2 insertions(+) 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 @@ -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