From 8fb336148fb34474c67fbc6e0354daa4512a22fb Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Wed, 18 Aug 2004 01:09:31 +0000 Subject: Const policed pointer arguments to functions, part 3 git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4999 a1c6a512-1295-4272-9138-f99709370657 --- apps/status.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'apps/status.c') diff --git a/apps/status.c b/apps/status.c index 8c4a7ef809..f144adebef 100644 --- a/apps/status.c +++ b/apps/status.c @@ -268,7 +268,7 @@ void status_draw(bool force_redraw) } #ifdef HAVE_LCD_BITMAP -static void draw_buttonbar_btn(int num, char* caption) +static void draw_buttonbar_btn(int num, const char* caption) { int xpos, ypos, button_width, text_width; int fw, fh; @@ -294,7 +294,8 @@ static char stored_caption1[8]; static char stored_caption2[8]; static char stored_caption3[8]; -void buttonbar_set(char* caption1, char *caption2, char *caption3) +void buttonbar_set(const char* caption1, const char *caption2, + const char *caption3) { buttonbar_unset(); if(caption1) -- cgit v1.2.3