aboutsummaryrefslogtreecommitdiff
path: root/include/mplayer.h
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2024-05-27 19:13:02 +0100
committerJuan J. Martinez <jjm@usebox.net>2024-05-27 19:13:02 +0100
commit420ac2c8f2307ddcbe551972544bbe11f05ee7ff (patch)
tree70748bd36a378f3a44ccb720e2776030eac956f2 /include/mplayer.h
parent0b3ba3e708899145296e3b6c1496ff87efe6a6c7 (diff)
downloadubox-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 'include/mplayer.h')
-rw-r--r--include/mplayer.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mplayer.h b/include/mplayer.h
index 139dd9e..c13ac56 100644
--- a/include/mplayer.h
+++ b/include/mplayer.h
@@ -92,14 +92,14 @@ void mplayer_init_effects(const uint8_t *effects) __z88dk_fastcall;
* If the player is stopped, [mplayer_stop](#mplayer_stop) must be called to
* silence the PSG.
*/
-void mplayer_play();
+void mplayer_play(void);
/**
* Silences the PSG, stopping any sound.
*
* This doesn't stop the player if [mplayer_play](#mplayer_play) is called.
*/
-void mplayer_stop();
+void mplayer_stop(void);
// @Sound effects