[PATCH] debug_ll: change the argument type of putc_ll()
Masahiro Yamada
yamada.m at jp.panasonic.com
Tue Jan 20 20:36:08 PST 2015
Most of the implementations of PUTC_LL() takes "char"
(some take "int"), not "unsigned char".
Moreover, puts_ll() takes an argument with "const char *" type.
Let's drop "unsigned" from the prototype of putc_ll().
Signed-off-by: Masahiro Yamada <yamada.m at jp.panasonic.com>
---
include/debug_ll.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/include/debug_ll.h b/include/debug_ll.h
index 288aa25..b0eb7cd 100644
--- a/include/debug_ll.h
+++ b/include/debug_ll.h
@@ -33,7 +33,7 @@
#if defined (CONFIG_DEBUG_LL)
-static inline void putc_ll(unsigned char value)
+static inline void putc_ll(char value)
{
PUTC_LL(value);
}
@@ -67,7 +67,7 @@ static inline void puts_ll(const char * str)
#else
-static inline void putc_ll(unsigned char value)
+static inline void putc_ll(char value)
{
}
--
1.9.1
More information about the barebox
mailing list