[rhythmbox] fix up some void prototypes



commit 3113403930e4a9c6f5aa1461b90e05cf2d06fc2c
Author: Jonathan Matthew <jonathan d14n org>
Date:   Thu Nov 25 22:02:15 2021 +1000

    fix up some void prototypes

 lib/rb-gst-media-types.c                        | 4 ++--
 metadata/rb-metadata-dbus-service.c             | 2 +-
 plugins/audioscrobbler/rb-audioscrobbler-user.c | 3 ++-
 3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/lib/rb-gst-media-types.c b/lib/rb-gst-media-types.c
index b42d6d0cd..5dfb9c1f9 100644
--- a/lib/rb-gst-media-types.c
+++ b/lib/rb-gst-media-types.c
@@ -261,7 +261,7 @@ rb_gst_encoding_profile_get_media_type (GstEncodingProfile *profile)
 }
 
 static char *
-get_encoding_target_file ()
+get_encoding_target_file (void)
 {
        char *target_file;
 
@@ -280,7 +280,7 @@ get_encoding_target_file ()
  * Return value: (transfer none): default encoding target
  */
 GstEncodingTarget *
-rb_gst_get_default_encoding_target ()
+rb_gst_get_default_encoding_target (void)
 {
        if (default_target == NULL) {
                char *target_file;
diff --git a/metadata/rb-metadata-dbus-service.c b/metadata/rb-metadata-dbus-service.c
index cbd09855e..2801afb10 100644
--- a/metadata/rb-metadata-dbus-service.c
+++ b/metadata/rb-metadata-dbus-service.c
@@ -255,7 +255,7 @@ new_connection_cb (GDBusServer *server,
 }
 
 static int
-test_saveable_types ()
+test_saveable_types (void)
 {
        RBMetaData *md;
        char **saveable;
diff --git a/plugins/audioscrobbler/rb-audioscrobbler-user.c b/plugins/audioscrobbler/rb-audioscrobbler-user.c
index 001802468..6c573c698 100644
--- a/plugins/audioscrobbler/rb-audioscrobbler-user.c
+++ b/plugins/audioscrobbler/rb-audioscrobbler-user.c
@@ -48,7 +48,8 @@
 #define RECOMMENDED_ARTISTS_LIFETIME 86400   /* 24 hours */
 
 static RBAudioscrobblerUserData *
-rb_audioscrobbler_user_data_new () {
+rb_audioscrobbler_user_data_new (void)
+{
        RBAudioscrobblerUserData *data = g_slice_new0 (RBAudioscrobblerUserData);
 
        data->refcount = 1;


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