From 99213611623be97274eb19bfa23aca8abcf9d19c Mon Sep 17 00:00:00 2001 From: "bernard.xiong" Date: Thu, 15 Apr 2010 02:51:20 +0000 Subject: [PATCH] remove weak symbol in ICCM16C compiler. git-svn-id: https://rt-thread.googlecode.com/svn/trunk@623 bbd45198-f89e-11dd-88c7-29a3b14d5316 --- src/kservice.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/kservice.c b/src/kservice.c index 0d0190c4e..6f268609c 100644 --- a/src/kservice.c +++ b/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 @@ -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 */ -- GitLab