Fix missing-declarations warnings all over the codebase
As caught by compiling with `-Wmissing-declarations` by either making functions static, or declaring them in the header.
This commit is contained in:
@@ -96,7 +96,7 @@ update_status (CallsMMProvider *self)
|
||||
}
|
||||
|
||||
|
||||
gboolean
|
||||
static gboolean
|
||||
mm_provider_contains (CallsMMProvider *self,
|
||||
MMObject *mm_obj)
|
||||
{
|
||||
@@ -252,7 +252,7 @@ add_mm_objects (CallsMMProvider *self)
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
object_added_cb (CallsMMProvider *self,
|
||||
GDBusObject *object)
|
||||
{
|
||||
@@ -263,7 +263,7 @@ object_added_cb (CallsMMProvider *self,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
object_removed_cb (CallsMMProvider *self,
|
||||
GDBusObject *object)
|
||||
{
|
||||
@@ -326,7 +326,7 @@ mm_appeared_cb (GDBusConnection *connection,
|
||||
}
|
||||
|
||||
|
||||
void
|
||||
static void
|
||||
mm_vanished_cb (GDBusConnection *connection,
|
||||
const gchar *name,
|
||||
CallsMMProvider *self)
|
||||
|
||||
Reference in New Issue
Block a user