[PATCH 1/2] debug_ll: use const char* for PUTS_LL
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sun Oct 28 05:15:09 EDT 2012
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
include/debug_ll.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/debug_ll.h b/include/debug_ll.h
index a8bac27..c744573 100644
--- a/include/debug_ll.h
+++ b/include/debug_ll.h
@@ -30,7 +30,7 @@
ch += (ch >= 10) ? 'a' - 10 : '0';\
PUTC_LL (ch); }})
-static __inline__ void PUTS_LL(char * str)
+static __inline__ void PUTS_LL(const char * str)
{
while (*str) {
if (*str == '\n') {
--
1.7.10.4
More information about the barebox
mailing list