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:
Evangelos Ribeiro Tzaras
2021-06-02 19:42:25 +02:00
parent 96a7d901c1
commit 2847508034
8 changed files with 25 additions and 15 deletions

View File

@@ -267,7 +267,7 @@ call_selector_child_activated_cb (GtkFlowBox *box,
}
void
static void
add_call (CallsCallWindow *self,
CallsCall *call)
{
@@ -288,7 +288,7 @@ add_call (CallsCallWindow *self,
set_focus (self, display);
}
void
static void
remove_call (CallsCallWindow *self,
CallsCall *call,
const gchar *reason)

View File

@@ -66,7 +66,7 @@ calls_provider_real_get_status (CallsProvider *self)
return NULL;
}
GListModel *
static GListModel *
calls_provider_real_get_origins (CallsProvider *self)
{
return NULL;