summaryrefslogtreecommitdiff
path: root/apps/games_menu.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/games_menu.c')
-rw-r--r--apps/games_menu.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/games_menu.c b/apps/games_menu.c
index 34405825cd..1d30fbbcce 100644
--- a/apps/games_menu.c
+++ b/apps/games_menu.c
@@ -31,15 +31,13 @@
#include "sokoban.h"
extern void tetris(void);
-enum { Tetris, Sokoban, numgames };
-
void games_menu(void)
{
int m;
struct menu_items items[] = {
- { Tetris, "Tetris", tetris },
- { Sokoban, "Sokoban", sokoban },
+ { "Tetris", tetris },
+ { "Sokoban", sokoban },
};
m=menu_init( items, sizeof items / sizeof(struct menu_items) );