[at-spi2-core] Declare void functions as such



commit f918cd8787e68c8f11bdde10be8b0cc632417ada
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Oct 19 18:48:25 2011 -0400

    Declare void functions as such
    
    handle_a11y_enabled_changed was missing a 'static void', causing
    static analyzers to complain about returns.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=662249

 bus/at-spi-bus-launcher.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/bus/at-spi-bus-launcher.c b/bus/at-spi-bus-launcher.c
index a7f2183..3133a39 100644
--- a/bus/at-spi-bus-launcher.c
+++ b/bus/at-spi-bus-launcher.c
@@ -253,6 +253,7 @@ handle_get_property  (GDBusConnection       *connection,
     return NULL;
 }
 
+static void
 handle_a11y_enabled_change (A11yBusLauncher *app, gboolean enabled,
                                gboolean notify_gsettings)
 {



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