diff options
author | Kevin Ferrare <kevin@rockbox.org> | 2005-10-30 22:41:29 +0000 |
---|---|---|
committer | Kevin Ferrare <kevin@rockbox.org> | 2005-10-30 22:41:29 +0000 |
commit | 2b3695f538c66960957148710dd4a5956f627acc (patch) | |
tree | 221c58058154f6f3d4227d24b58fe430a152f3f4 | |
parent | db8415c99e37b1ee2b152625d36e84cb9bbf690d (diff) |
oops a little warning in menu.c, fixed
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7694 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r-- | apps/menu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/menu.c b/apps/menu.c index cb0a70d02d..8ca16935bc 100644 --- a/apps/menu.c +++ b/apps/menu.c @@ -72,7 +72,7 @@ char * menu_get_itemname(int selected_item, void * data, char *buffer) return(P2STR(local_menus->items[selected_item].desc)); } -int menu_find_free_menu() +int menu_find_free(void) { int i; /* Tries to find an unused slot to put the new menu */ @@ -92,7 +92,7 @@ int menu_find_free_menu() int menu_init(const struct menu_item* mitems, int count, int (*callback)(int, int), const char *button1, const char *button2, const char *button3) { - int menu=menu_find_free_menu(); + int menu=menu_find_free(); if(menu==-1)/* Out of menus */ return -1; menus[menu].items = (struct menu_item*)mitems; /* de-const */ |