mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-11-16 00:22:29 -05:00
use void, not blanks, in function protos to prevent warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@3328 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
820e3ae746
commit
e1c6604719
1 changed files with 6 additions and 6 deletions
|
|
@ -51,11 +51,11 @@
|
||||||
#define COLS 20
|
#define COLS 20
|
||||||
#define MAX_UNDOS 5
|
#define MAX_UNDOS 5
|
||||||
|
|
||||||
static void init_undo();
|
static void init_undo(void);
|
||||||
static void undo();
|
static void undo(void);
|
||||||
static void add_undo(int button);
|
static void add_undo(int button);
|
||||||
|
|
||||||
static void init_boards();
|
static void init_boards(void);
|
||||||
static void load_level(short level);
|
static void load_level(short level);
|
||||||
static void draw_level(short level);
|
static void draw_level(short level);
|
||||||
static void update_screen(void);
|
static void update_screen(void);
|
||||||
|
|
@ -103,13 +103,13 @@ static struct BoardInfo {
|
||||||
} current_info;
|
} current_info;
|
||||||
|
|
||||||
|
|
||||||
static void init_undo()
|
static void init_undo(void)
|
||||||
{
|
{
|
||||||
undo_info.count = 0;
|
undo_info.count = 0;
|
||||||
undo_info.current = 0;
|
undo_info.current = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void undo()
|
static void undo(void)
|
||||||
{
|
{
|
||||||
struct Undo *undo;
|
struct Undo *undo;
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
@ -230,7 +230,7 @@ static void add_undo(int button)
|
||||||
undo_info.count++;
|
undo_info.count++;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void init_boards()
|
static void init_boards(void)
|
||||||
{
|
{
|
||||||
current_info.level.level = 0;
|
current_info.level.level = 0;
|
||||||
current_info.level.moves = 0;
|
current_info.level.moves = 0;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue