From b23dd15990c913898b88d235c08e8630952d00cd Mon Sep 17 00:00:00 2001 From: Bernard Xiong Date: Mon, 24 Jun 2013 00:09:52 +0800 Subject: [PATCH] Update kservice.c --- src/kservice.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/kservice.c b/src/kservice.c index 1ffe7d000..88461c2fc 100644 --- a/src/kservice.c +++ b/src/kservice.c @@ -18,6 +18,7 @@ * 2012-07-18 Arda add the alignment display for signed integer * 2012-11-23 Bernard fix IAR compiler error. * 2012-12-22 Bernard fix rt_kprintf issue, which found by Grissiom. + * 2013-06-24 Bernard remove rt_kprintf if RT_USING_CONSOLE is not defined. */ #include @@ -1121,12 +1122,6 @@ void rt_kprintf(const char *fmt, ...) va_end(args); } RTM_EXPORT(rt_kprintf); -#else -void rt_kprintf(const char *fmt, ...) -{ -} -RTM_EXPORT(rt_kprintf); - #endif #ifdef RT_USING_HEAP