From: Ahmad Fatoum <a.fatoum@pengutronix.de>
To: barebox@lists.infradead.org
Cc: Ahmad Fatoum <a.fatoum@pengutronix.de>
Subject: [PATCH] fixup! debug_ll: implement putws_ll
Date: Thu, 1 Aug 2024 14:17:09 +0200 [thread overview]
Message-ID: <20240801121709.4024602-1-a.fatoum@pengutronix.de> (raw)
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
next reply other threads:[~2024-08-01 12:32 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-08-01 12:17 Ahmad Fatoum [this message]
2024-08-01 12:51 ` Sascha Hauer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240801121709.4024602-1-a.fatoum@pengutronix.de \
--to=a.fatoum@pengutronix.de \
--cc=barebox@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox