[Xfce4-commits] <xfce4-mpc-plugin:master> declare str_replace() and () as static to silence a warning

Landry Breuil noreply at xfce.org
Sat May 15 00:18:03 CEST 2010


Updating branch refs/heads/master
         to c33b5635fe368f7f38f4568185aa14ff4c7d8198 (commit)
       from 43bea1d2dccfc9c124f2bda144d5ae33b1943e4b (commit)

commit c33b5635fe368f7f38f4568185aa14ff4c7d8198
Author: Landry Breuil <landry at xfce.org>
Date:   Fri May 14 18:30:37 2010 +0200

    declare str_replace() and () as static to silence a warning

 panel-plugin/xfce4-mpc-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/panel-plugin/xfce4-mpc-plugin.c b/panel-plugin/xfce4-mpc-plugin.c
index 595b04e..5715cfc 100644
--- a/panel-plugin/xfce4-mpc-plugin.c
+++ b/panel-plugin/xfce4-mpc-plugin.c
@@ -399,7 +399,7 @@ mpc_update_outputs(t_mpc* mpc)
    }
 }
 
-void
+static void
 str_replace(GString *str, gchar* pattern, gchar* replacement)
 {
    if (!replacement)
@@ -409,7 +409,7 @@ str_replace(GString *str, gchar* pattern, gchar* replacement)
    g_free(nstr);
 }
 
-void
+static void
 format_song_display(mpd_Song* song, GString *str, t_mpc* mpc)
 {
    if (0 == str->len)



More information about the Xfce4-commits mailing list