diff options
author | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:16 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2008-08-26 08:27:16 +0200 |
commit | 3db333b5a46f8d147043afc4d400d18851d3606d (patch) | |
tree | 882c370396bc53b035c14a6bf3032fdcc98b8e0e /src/player.h | |
parent | 6df980a996192fc459a0b60b73fa7a33a24a2f49 (diff) | |
download | mpd-3db333b5a46f8d147043afc4d400d18851d3606d.tar.gz mpd-3db333b5a46f8d147043afc4d400d18851d3606d.tar.xz mpd-3db333b5a46f8d147043afc4d400d18851d3606d.zip |
player: no "fd" and no return value
Most player*() functions do not actually use the file descriptor, and
always return 0 (success). Eliminate them to get a leaner interface.
Diffstat (limited to '')
-rw-r--r-- | src/player.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/player.h b/src/player.h index 08405032d..2b1e6d992 100644 --- a/src/player.h +++ b/src/player.h @@ -85,13 +85,13 @@ typedef struct _PlayerControl { void player_command_finished(void); -int playerPlay(int fd, Song * song); +void playerPlay(Song * song); -int playerSetPause(int fd, int pause_flag); +void playerSetPause(int pause_flag); -int playerPause(int fd); +void playerPause(void); -int playerStop(int fd); +void playerStop(void); void playerKill(void); @@ -109,7 +109,7 @@ char *getPlayerErrorStr(void); int getPlayerError(void); -int playerWait(int fd); +void playerWait(void); int queueSong(Song * song); |