mailarchive of the pengutronix oss-tools mailing list
 help / color / mirror / Atom feed
* [OSS-Tools] [PATCH platsch V6 RESEND 1/5] platsch: constify draw_buffer
@ 2024-07-04  9:46 LI Qingwu
  2024-07-04  9:46 ` [OSS-Tools] [PATCH platsch V6 RESEND 2/5] convert to meson build LI Qingwu
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: LI Qingwu @ 2024-07-04  9:46 UTC (permalink / raw)
  To: Qing-wu.Li, jie.gu, oss-tools, m.felsch; +Cc: bsp-development.geo

From: Marco Felsch <m.felsch@pengutronix.de>

Make the dir and base const.

Signed-off-by: Marco Felsch <m.felsch@pengutronix.de>
---
 platsch.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/platsch.c b/platsch.c
index 535b589..1aaa8d5 100644
--- a/platsch.c
+++ b/platsch.c
@@ -111,7 +111,7 @@ struct modeset_dev {
 	uint32_t crtc_id;
 };
 
-void draw_buffer(struct modeset_dev *dev, char *dir, char *base)
+void draw_buffer(struct modeset_dev *dev, const char *dir, const char *base)
 {
 	int fd_src;
 	char filename[128];
-- 
2.34.1




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

end of thread, other threads:[~2024-07-04  9:59 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-07-04  9:46 [OSS-Tools] [PATCH platsch V6 RESEND 1/5] platsch: constify draw_buffer LI Qingwu
2024-07-04  9:46 ` [OSS-Tools] [PATCH platsch V6 RESEND 2/5] convert to meson build LI Qingwu
2024-07-04  9:46 ` [OSS-Tools] [PATCH platsch V6 RESEND 3/5] platsch: split into platsch and libplatsch LI Qingwu
2024-07-04  9:46 ` [OSS-Tools] [PATCH platsch V6 RESEND 4/5] Platsch: always fork child process LI Qingwu
2024-07-04  9:46 ` [OSS-Tools] [PATCH platsch V6 RESEND 5/5] Add spinner executable for boot animation and text show LI Qingwu

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