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/player.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/player.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/player.h b/src/player.h index e414c7c3d..691be0230 100644 --- a/src/player.h +++ b/src/player.h @@ -89,7 +89,7 @@ typedef struct _PlayerControl { MetadataChunk fileMetadataChunk; } PlayerControl; -void clearPlayerPid(); +void clearPlayerPid(void); void player_sigChldHandler(int pid, int status); @@ -101,54 +101,54 @@ int playerPause(int fd); int playerStop(int fd); -void playerCloseAudio(); +void playerCloseAudio(void); -void playerKill(); +void playerKill(void); -int getPlayerTotalTime(); +int getPlayerTotalTime(void); -int getPlayerElapsedTime(); +int getPlayerElapsedTime(void); -unsigned long getPlayerBitRate(); +unsigned long getPlayerBitRate(void); -int getPlayerState(); +int getPlayerState(void); -void clearPlayerError(); +void clearPlayerError(void); -char *getPlayerErrorStr(); +char *getPlayerErrorStr(void); -int getPlayerError(); +int getPlayerError(void); -int playerInit(); +int playerInit(void); int queueSong(Song * song); -int getPlayerQueueState(); +int getPlayerQueueState(void); void setQueueState(int queueState); -void playerQueueLock(); +void playerQueueLock(void); -void playerQueueUnlock(); +void playerQueueUnlock(void); int playerSeek(int fd, Song * song, float time); void setPlayerCrossFade(float crossFadeInSeconds); -float getPlayerCrossFade(); +float getPlayerCrossFade(void); void setPlayerSoftwareVolume(int volume); -double getPlayerTotalPlayTime(); +double getPlayerTotalPlayTime(void); -unsigned int getPlayerSampleRate(); +unsigned int getPlayerSampleRate(void); -int getPlayerBits(); +int getPlayerBits(void); -int getPlayerChannels(); +int getPlayerChannels(void); -void playerCycleLogFiles(); +void playerCycleLogFiles(void); -Song *playerCurrentDecodeSong(); +Song *playerCurrentDecodeSong(void); #endif |