diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-08-20 00:50:44 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-08-20 00:50:44 +0000 |
commit | f79a70d1b9bab78fca515ac9142607ce2414e333 (patch) | |
tree | 9b851a6298a000e1feee859f430c9ccc5c297ddd /src/playlist.h | |
parent | 9caade4eb11bc930f618650918db8b60b912c961 (diff) | |
download | mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.gz mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.xz mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.zip |
Fix warnings for -Wmissing-prototypes
Add -Wmissing-prototypes if compiling with gcc
Static where possible
git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/playlist.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/playlist.h b/src/playlist.h index 837bff161..c5f291101 100644 --- a/src/playlist.h +++ b/src/playlist.h @@ -30,9 +30,9 @@ #define PLAYLIST_FILE_SUFFIX "m3u" -void initPlaylist(); +void initPlaylist(void); -void finishPlaylist(); +void finishPlaylist(void); void readPlaylistState(FILE *); @@ -62,7 +62,7 @@ int playPlaylistById(int fd, int song, int stopOnError); int nextSongInPlaylist(int fd); -void syncPlayerAndPlaylist(); +void syncPlayerAndPlaylist(void); int previousSongInPlaylist(int fd); @@ -86,29 +86,29 @@ int swapSongsInPlaylistById(int fd, int id1, int id2); int loadPlaylist(int fd, char *utf8file); -int getPlaylistRepeatStatus(); +int getPlaylistRepeatStatus(void); int setPlaylistRepeatStatus(int fd, int status); -int getPlaylistRandomStatus(); +int getPlaylistRandomStatus(void); int setPlaylistRandomStatus(int fd, int status); -int getPlaylistCurrentSong(); +int getPlaylistCurrentSong(void); int getPlaylistSongId(int song); -int getPlaylistLength(); +int getPlaylistLength(void); -unsigned long getPlaylistVersion(); +unsigned long getPlaylistVersion(void); -void playPlaylistIfPlayerStopped(); +void playPlaylistIfPlayerStopped(void); int seekSongInPlaylist(int fd, int song, float time); int seekSongInPlaylistById(int fd, int id, float time); -void playlistVersionChange(); +void playlistVersionChange(void); int playlistChanges(int fd, mpd_uint32 version); |