[brasero/wip/davidk/compiler-warnings: 2/6] Fix strict prototypes warnings




commit 8b26fef15c5492770a1ef4ca1ddcdb079d8f0c0f
Author: David King <amigadave amigadave com>
Date:   Tue Oct 19 15:22:12 2021 +0100

    Fix strict prototypes warnings
    
    https://gitlab.gnome.org/GNOME/brasero/-/issues/332

 libbrasero-utils/brasero-io.c      | 2 +-
 nautilus/nautilus-burn-extension.c | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libbrasero-utils/brasero-io.c b/libbrasero-utils/brasero-io.c
index 5619359d..b1fcfdb2 100644
--- a/libbrasero-utils/brasero-io.c
+++ b/libbrasero-utils/brasero-io.c
@@ -150,7 +150,7 @@ G_DEFINE_TYPE (BraseroIO, brasero_io, BRASERO_TYPE_ASYNC_TASK_MANAGER);
 static BraseroIO *singleton = NULL;
 
 static BraseroIO *
-brasero_io_get_default ()
+brasero_io_get_default (void)
 {
        if (singleton) {
                g_object_ref (singleton);
diff --git a/nautilus/nautilus-burn-extension.c b/nautilus/nautilus-burn-extension.c
index 3be8e5fa..1ae88ec7 100644
--- a/nautilus/nautilus-burn-extension.c
+++ b/nautilus/nautilus-burn-extension.c
@@ -110,7 +110,7 @@ static GObjectClass *parent_class;
 /* do not call brasero_*_start() at nautilus startup, they are very expensive;
  * lazily initialize those instead */
 static void
-ensure_initialized ()
+ensure_initialized (void)
 {
        static gboolean initialized = FALSE;
 


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