- Use const char* for strings

This commit is contained in:
Jan Stoess 2007-11-27 12:14:42 +01:00
parent f04f6f551e
commit f8c9ccb2fa
1 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
/*********************************************************************
*
* Copyright (C) 2003, Karlsruhe University
* Copyright (C) 2003, 2007, Karlsruhe University
*
* File path: l4test/menu.h
* Description: Menu definitions
@ -33,12 +33,12 @@
struct menuitem
{
void (*func)(void); /* function to call on select (NULL == return) */
char *prompt; /* user prompt */
const char *prompt; /* user prompt */
};
struct menu
{
char *title; /* menu title */
const char *title; /* menu title */
int clear; /* always clear when drawing this */
int nitems; /* number of items */
struct menuitem* items; /* ptr to an array of items */