Ver código fonte

remove weak symbol in ICCM16C compiler.

git-svn-id: https://rt-thread.googlecode.com/svn/trunk@623 bbd45198-f89e-11dd-88c7-29a3b14d5316
bernard.xiong 15 anos atrás
pai
commit
9921361162
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      src/kservice.c

+ 2 - 1
src/kservice.c

@@ -14,6 +14,7 @@
  * 2006-08-10     Bernard      add rt_show_version
  * 2010-03-17     Bernard      remove rt_strlcpy function
  *                             fix gcc compiling issue.
+ * 2010-04-15     Bernard      remove weak definition on ICCM16C compiler
  */
 
 #include <rtthread.h>
@@ -928,7 +929,7 @@ __weak void rt_hw_console_output(const char* str)
 #elif defined(__ICCARM__)
 __weak void rt_hw_console_output(const char* str)
 #elif defined(__ICCM16C__)
-__weak void rt_hw_console_output(const char* str)
+void rt_hw_console_output(const char* str)
 #endif
 {
     /* empty console output */