Browse Source

fix IAR compiler error.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2434 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong@gmail.com 12 years ago
parent
commit
0cdbd69d56
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/kservice.c

+ 2 - 0
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