[sound-juicer] Fix old style function definitions



commit e119157e3aa5c2322e0b15704c6365a23808d607
Author: Phillip Wood <phillip wood dunelm org uk>
Date:   Thu Nov 10 13:01:34 2016 +0000

    Fix old style function definitions
    
    Make sure void functions have the prototype f(void) rather than f().
    
    https://bugzilla.gnome.org/show_bug.cgi?id=777692

 src/sj-play.c  |    6 +++---
 src/sj-prefs.c |    2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/sj-play.c b/src/sj-play.c
index 4fa584a..6b0255f 100644
--- a/src/sj-play.c
+++ b/src/sj-play.c
@@ -386,7 +386,7 @@ stop_playback (void)
 /*
  * Interface entry point.
  */
-void toggle_play ()
+void toggle_play (void)
 {
   GError *err = NULL;
 
@@ -457,12 +457,12 @@ on_tracklist_row_activate (GtkTreeView * treeview, GtkTreePath * path,
   }
 }
 
-void play_next_track ()
+void play_next_track (void)
 {
   cb_hop_track (NULL, NULL, NULL);
 }
 
-void play_previous_track ()
+void play_previous_track (void)
 {
   GtkTreeModel *model;
   gint prev_track = current_track - 1;
diff --git a/src/sj-prefs.c b/src/sj-prefs.c
index 946d48e..36b5d4f 100644
--- a/src/sj-prefs.c
+++ b/src/sj-prefs.c
@@ -376,7 +376,7 @@ static void populate_profile_combo (GtkComboBox *combo)
 /**
  * Clicked on Preferences in the UI
  */
-void show_preferences_dialog ()
+void show_preferences_dialog (void)
 {
   static GtkWidget *prefs_dialog = NULL;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]