summaryrefslogtreecommitdiff
path: root/src/ui_act.c
diff options
context:
space:
mode:
authorLars-Dominik Braun <PromyLOPh@lavabit.com>2009-08-04 15:24:23 +0200
committerLars-Dominik Braun <PromyLOPh@lavabit.com>2009-08-04 15:24:23 +0200
commit3d7998a44299c69e7d721c4c5a20ddc32cec562b (patch)
tree1cfae4f8e9e95a5ceaab8cbea96fef2afd9b62bf /src/ui_act.c
parent98071f0c542a89379c21ba69ea14a5c3f4b88b61 (diff)
downloadpianobar-windows-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.gz
pianobar-windows-3d7998a44299c69e7d721c4c5a20ddc32cec562b.tar.bz2
pianobar-windows-3d7998a44299c69e7d721c4c5a20ddc32cec562b.zip
Use "static" keyword for functions
Diffstat (limited to 'src/ui_act.c')
-rw-r--r--src/ui_act.c4
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... ");