From 954614b126507aa3ed1b4c011bb069d757b3bb3b Mon Sep 17 00:00:00 2001 From: Robert Antoni Buj Gelonch Date: Tue, 23 Aug 2022 18:47:04 +0200 Subject: Fix -Wmissing-prototypes warnings (#381) --- applets/brightness/brightness-applet.c | 6 +++--- applets/inhibit/inhibit-applet.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'applets') diff --git a/applets/brightness/brightness-applet.c b/applets/brightness/brightness-applet.c index bafeeaa..125d45b 100644 --- a/applets/brightness/brightness-applet.c +++ b/applets/brightness/brightness-applet.c @@ -906,7 +906,7 @@ brightness_changed_cb (DBusGProxy *proxy, /** * gpm_brightness_applet_dbus_connect: **/ -gboolean +static gboolean gpm_brightness_applet_dbus_connect (GpmBrightnessApplet *applet) { GError *error = NULL; @@ -950,7 +950,7 @@ gpm_brightness_applet_dbus_connect (GpmBrightnessApplet *applet) /** * gpm_brightness_applet_dbus_disconnect: **/ -gboolean +static gboolean gpm_brightness_applet_dbus_disconnect (GpmBrightnessApplet *applet) { if (applet->proxy != NULL) { @@ -978,7 +978,7 @@ gpm_brightness_applet_name_appeared_cb (GDBusConnection *connection, /** * gpm_brightness_applet_name_vanished_cb: **/ -void +static void gpm_brightness_applet_name_vanished_cb (GDBusConnection *connection, const gchar *name, GpmBrightnessApplet *applet) diff --git a/applets/inhibit/inhibit-applet.c b/applets/inhibit/inhibit-applet.c index 37382c4..ab64597 100644 --- a/applets/inhibit/inhibit-applet.c +++ b/applets/inhibit/inhibit-applet.c @@ -358,7 +358,7 @@ gpm_inhibit_applet_class_init (GpmInhibitAppletClass *class) /** * gpm_inhibit_applet_dbus_connect: **/ -gboolean +static gboolean gpm_inhibit_applet_dbus_connect (GpmInhibitApplet *applet) { GError *error = NULL; @@ -395,7 +395,7 @@ gpm_inhibit_applet_dbus_connect (GpmInhibitApplet *applet) /** * gpm_inhibit_applet_dbus_disconnect: **/ -gboolean +static gboolean gpm_inhibit_applet_dbus_disconnect (GpmInhibitApplet *applet) { if (applet->proxy != NULL) { @@ -425,7 +425,7 @@ gpm_inhibit_applet_name_appeared_cb (GDBusConnection *connection, /** * gpm_inhibit_applet_name_vanished_cb: **/ -void +static void gpm_inhibit_applet_name_vanished_cb (GDBusConnection *connection, const gchar *name, GpmInhibitApplet *applet) -- cgit v1.2.1