diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/recorder/sokoban.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/sokoban.c b/apps/recorder/sokoban.c index b192ea1922..061afcb97a 100644 --- a/apps/recorder/sokoban.c +++ b/apps/recorder/sokoban.c | |||
@@ -51,11 +51,11 @@ | |||
51 | #define COLS 20 | 51 | #define COLS 20 |
52 | #define MAX_UNDOS 5 | 52 | #define MAX_UNDOS 5 |
53 | 53 | ||
54 | static void init_undo(); | 54 | static void init_undo(void); |
55 | static void undo(); | 55 | static void undo(void); |
56 | static void add_undo(int button); | 56 | static void add_undo(int button); |
57 | 57 | ||
58 | static void init_boards(); | 58 | static void init_boards(void); |
59 | static void load_level(short level); | 59 | static void load_level(short level); |
60 | static void draw_level(short level); | 60 | static void draw_level(short level); |
61 | static void update_screen(void); | 61 | static void update_screen(void); |
@@ -103,13 +103,13 @@ static struct BoardInfo { | |||
103 | } current_info; | 103 | } current_info; |
104 | 104 | ||
105 | 105 | ||
106 | static void init_undo() | 106 | static void init_undo(void) |
107 | { | 107 | { |
108 | undo_info.count = 0; | 108 | undo_info.count = 0; |
109 | undo_info.current = 0; | 109 | undo_info.current = 0; |
110 | } | 110 | } |
111 | 111 | ||
112 | static void undo() | 112 | static void undo(void) |
113 | { | 113 | { |
114 | struct Undo *undo; | 114 | struct Undo *undo; |
115 | int i = 0; | 115 | int i = 0; |
@@ -230,7 +230,7 @@ static void add_undo(int button) | |||
230 | undo_info.count++; | 230 | undo_info.count++; |
231 | } | 231 | } |
232 | 232 | ||
233 | static void init_boards() | 233 | static void init_boards(void) |
234 | { | 234 | { |
235 | current_info.level.level = 0; | 235 | current_info.level.level = 0; |
236 | current_info.level.moves = 0; | 236 | current_info.level.moves = 0; |