summaryrefslogtreecommitdiff
path: root/tests/testhelpermodule.c
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2012-07-27 23:06:39 +0200
committerMartin Pitt <martinpitt@gnome.org>2012-07-27 23:12:59 +0200
commitaae4e77482c02e21154ab02b159f380f5f0f74be (patch)
treed85096aadf2f055cc26560654d06145a8bb404ab /tests/testhelpermodule.c
parent5f88d3017f853c4ff5e9fd89ef39e4569a9b9c16 (diff)
downloadpygobject-aae4e77482c02e21154ab02b159f380f5f0f74be.tar.gz
Add missing static declarations
This fixes a lot of -Wmissing-prototype warnings. Also remove _pygi_marshal_cleanup_closure_unref() which is not used anywhere.
Diffstat (limited to 'tests/testhelpermodule.c')
-rw-r--r--tests/testhelpermodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testhelpermodule.c b/tests/testhelpermodule.c
index 592c5038..d26ec9fe 100644
--- a/tests/testhelpermodule.c
+++ b/tests/testhelpermodule.c
@@ -14,7 +14,7 @@ static PyObject * _wrap_TestInterface__do_iface_method(PyObject *cls,
PyObject *args,
PyObject *kwargs);
-GType
+static GType
test_type_get_type(void)
{
static GType gtype = 0;
@@ -339,7 +339,7 @@ test_object_callback (GObject *object, GObject *o)
return o;
}
-void
+static void
connectcallbacks (GObject *object)
{