summaryrefslogtreecommitdiffstats
path: root/include/debug_ll.h
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.m@jp.panasonic.com>2015-01-21 13:36:08 +0900
committerSascha Hauer <s.hauer@pengutronix.de>2015-01-21 14:57:05 +0100
commitec258b8bd09a2d8bc4eaff97030aa5ba1c3c3bee (patch)
tree949d47300d19013506fed1de14860b630ecb8eee /include/debug_ll.h
parentf8ba8d687de8e7de0e0c1997dd4357b246ab9e47 (diff)
downloadbarebox-ec258b8bd09a2d8bc4eaff97030aa5ba1c3c3bee.tar.gz
barebox-ec258b8bd09a2d8bc4eaff97030aa5ba1c3c3bee.tar.xz
debug_ll: change the argument type of putc_ll()
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@jp.panasonic.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/debug_ll.h')
-rw-r--r--include/debug_ll.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/debug_ll.h b/include/debug_ll.h
index 288aa256e5..b0eb7cd7d9 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)
{
}