Init: Define layout_list statically

This commit is contained in:
Philippe Pepiot
2010-01-24 19:41:24 +01:00
parent 04bef9a4b8
commit 6f1624f43b
4 changed files with 27 additions and 45 deletions

View File

@@ -111,7 +111,7 @@ _strdup(const char *str)
usage. {{{
*/
void*
name_to_func(char *name, func_name_list_t *l)
name_to_func(char *name, const func_name_list_t *l)
{
int i;
@@ -150,7 +150,7 @@ char_to_button(char *name, name_to_uint_t blist[])
}
Layout
layout_name_to_struct(Layout lt[], char *name, int n, func_name_list_t llist[])
layout_name_to_struct(Layout lt[], char *name, int n, const func_name_list_t llist[])
{
int i;