mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH] fixup! debug_ll: implement putws_ll
@ 2024-08-01 12:17 Ahmad Fatoum
  2024-08-01 12:51 ` Sascha Hauer
  0 siblings, 1 reply; 2+ messages in thread
From: Ahmad Fatoum @ 2024-08-01 12:17 UTC (permalink / raw)
  To: barebox; +Cc: Ahmad Fatoum

The header doesn't include any headers to define types, so replace
wchar_t with unsigned short to make it includeable everywhere with
minimal impact.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 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 5ac8ae12ceb8..1410783b73a4 100644
--- a/include/debug_ll.h
+++ b/include/debug_ll.h
@@ -64,7 +64,7 @@ static inline void puts_ll(const char * str)
 	}
 }
 
-static inline void putws_ll(const wchar_t * wstr)
+static inline void putws_ll(const unsigned short * wstr)
 {
 	while (*wstr) {
 		if (*wstr == L'\n')
@@ -81,7 +81,7 @@ static inline void putc_ll(char value)
 {
 }
 
-static inline void putws_ll(const wchar_t * wstr)
+static inline void putws_ll(const unsigned short * wstr)
 {
 }
 
-- 
2.39.2




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-08-01 12:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-08-01 12:17 [PATCH] fixup! debug_ll: implement putws_ll Ahmad Fatoum
2024-08-01 12:51 ` Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox