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

@@ -25,10 +25,11 @@
#ifndef CALLS_DUMMY_PROVIDER_H__
#define CALLS_DUMMY_PROVIDER_H__
#include <glib-object.h>
#include "calls-provider.h"
#include <glib-object.h>
#include <libpeas/peas.h>
G_BEGIN_DECLS
#define CALLS_TYPE_DUMMY_PROVIDER (calls_dummy_provider_get_type ())
@@ -38,6 +39,7 @@ G_DECLARE_FINAL_TYPE (CallsDummyProvider, calls_dummy_provider, CALLS, DUMMY_PRO
CallsDummyProvider *calls_dummy_provider_new (void);
void calls_dummy_provider_add_origin (CallsDummyProvider *self,
const gchar *name);
void peas_register_types (PeasObjectModule *module);
G_END_DECLS