diff options
author | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-08-04 15:24:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@lavabit.com> | 2009-08-04 15:24:23 +0200 |
commit | 3d7998a44299c69e7d721c4c5a20ddc32cec562b (patch) | |
tree | 1cfae4f8e9e95a5ceaab8cbea96fef2afd9b62bf /src/ui_act.c | |
parent | 98071f0c542a89379c21ba69ea14a5c3f4b88b61 (diff) | |
download | pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.gz pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.bz2 pianobar-3d7998a44299c69e7d721c4c5a20ddc32cec562b.zip |
Use "static" keyword for functions
Diffstat (limited to 'src/ui_act.c')
-rw-r--r-- | src/ui_act.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui_act.c b/src/ui_act.c index 60525ff..ea7a235 100644 --- a/src/ui_act.c +++ b/src/ui_act.c @@ -42,7 +42,7 @@ THE SOFTWARE. /* helper to _really_ skip a song (unlock mutex, quit player) * @param player handle */ -inline void BarUiDoSkipSong (struct audioPlayer *player) { +static inline void BarUiDoSkipSong (struct audioPlayer *player) { player->doQuit = 1; pthread_mutex_unlock (&player->pauseMutex); } @@ -52,7 +52,7 @@ inline void BarUiDoSkipSong (struct audioPlayer *player) { * @param transform this station * @return 0 = error, 1 = everything went well */ -int BarTransformIfShared (PianoHandle_t *ph, PianoStation_t *station) { +static int BarTransformIfShared (PianoHandle_t *ph, PianoStation_t *station) { /* shared stations must be transformed */ if (!station->isCreator) { BarUiMsg (MSG_INFO, "Transforming station... "); |