summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2003-02-24 10:03:27 +0000
committerDaniel Stenberg <daniel@haxx.se>2003-02-24 10:03:27 +0000
commite1c6604719b49b07d8e6e88f63d07a335bf33722 (patch)
tree3ee4ba6e9387cbd90711e8ba90b843360f61df9c
parent820e3ae746ae5be6baa533b552fb06e8f64a9d94 (diff)
downloadrockbox-e1c6604719b49b07d8e6e88f63d07a335bf33722.zip
rockbox-e1c6604719b49b07d8e6e88f63d07a335bf33722.tar.gz
rockbox-e1c6604719b49b07d8e6e88f63d07a335bf33722.tar.bz2
rockbox-e1c6604719b49b07d8e6e88f63d07a335bf33722.tar.xz
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
-rw-r--r--apps/recorder/sokoban.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/recorder/sokoban.c b/apps/recorder/sokoban.c
index b192ea1..061afcb 100644
--- a/apps/recorder/sokoban.c
+++ b/apps/recorder/sokoban.c
@@ -51,11 +51,11 @@
#define COLS 20
#define MAX_UNDOS 5
-static void init_undo();
-static void undo();
+static void init_undo(void);
+static void undo(void);
static void add_undo(int button);
-static void init_boards();
+static void init_boards(void);
static void load_level(short level);
static void draw_level(short level);
static void update_screen(void);
@@ -103,13 +103,13 @@ static struct BoardInfo {
} current_info;
-static void init_undo()
+static void init_undo(void)
{
undo_info.count = 0;
undo_info.current = 0;
}
-static void undo()
+static void undo(void)
{
struct Undo *undo;
int i = 0;
@@ -230,7 +230,7 @@ static void add_undo(int button)
undo_info.count++;
}
-static void init_boards()
+static void init_boards(void)
{
current_info.level.level = 0;
current_info.level.moves = 0;