Skip to content

Commit

Permalink
Fix -Wmissing-prototypes warnings (#381)
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuj authored Aug 23, 2022
1 parent 0931455 commit 954614b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions applets/brightness/brightness-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
Expand Down
6 changes: 3 additions & 3 deletions applets/inhibit/inhibit-applet.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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) {
Expand Down Expand Up @@ -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)
Expand Down

0 comments on commit 954614b

Please sign in to comment.