diff options
author | Juan J. Martinez <jjm@usebox.net> | 2024-05-27 19:13:02 +0100 |
---|---|---|
committer | Juan J. Martinez <jjm@usebox.net> | 2024-05-27 19:13:02 +0100 |
commit | 420ac2c8f2307ddcbe551972544bbe11f05ee7ff (patch) | |
tree | 70748bd36a378f3a44ccb720e2776030eac956f2 /game/src/main.c | |
parent | 0b3ba3e708899145296e3b6c1496ff87efe6a6c7 (diff) | |
download | ubox-msx-lib-420ac2c8f2307ddcbe551972544bbe11f05ee7ff.tar.gz ubox-msx-lib-420ac2c8f2307ddcbe551972544bbe11f05ee7ff.zip |
Avoid function declarator with no prototype errors
This is for SDCC 4.4.0 at least.
Diffstat (limited to 'game/src/main.c')
-rw-r--r-- | game/src/main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/game/src/main.c b/game/src/main.c index c95fcc8..577fd5c 100644 --- a/game/src/main.c +++ b/game/src/main.c @@ -12,7 +12,7 @@ // generated #include "tiles.h" -void draw_menu() +void draw_menu(void) { uint8_t i; @@ -39,7 +39,7 @@ void draw_menu() ubox_enable_screen(); } -void draw_end_game() +void draw_end_game(void) { ubox_disable_screen(); @@ -63,7 +63,7 @@ void draw_end_game() } } -void draw_game_over() +void draw_game_over(void) { ubox_disable_screen(); @@ -78,7 +78,7 @@ void draw_game_over() ubox_wait_for(128); } -void main() +void main(void) { // PAL: 50/2 = 25 FPS // NTSC: 60/2 = 30 FPS |