summaryrefslogtreecommitdiff
path: root/tests/gimarshallingtests.h
diff options
context:
space:
mode:
authorMartin Pitt <martinpitt@gnome.org>2013-01-15 10:05:20 +0100
committerMartin Pitt <martinpitt@gnome.org>2013-01-15 10:05:20 +0100
commitf65395f5f9f1ef980315ae11c454c324bb61e24d (patch)
tree08af0de69599d74b23896091b0c20b4b3b0d4a1f /tests/gimarshallingtests.h
parent5e4ddbcb8eacede04d5ade9e630d2efe29c022a0 (diff)
downloadgobject-introspection-f65395f5f9f1ef980315ae11c454c324bb61e24d.tar.gz
tests: Fix compiler warnings
Fix (void) function declarations that occur with -Wstrict-prototypes, and the g_param_spec_get_name() which drops the const from its argument.
Diffstat (limited to 'tests/gimarshallingtests.h')
-rw-r--r--tests/gimarshallingtests.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/gimarshallingtests.h b/tests/gimarshallingtests.h
index 10179c68..803b02c7 100644
--- a/tests/gimarshallingtests.h
+++ b/tests/gimarshallingtests.h
@@ -573,7 +573,7 @@ GClosure *gi_marshalling_tests_gclosure_return (void);
/**
* GIMarshallingTestsCallbackReturnValueOnly:
*/
-typedef glong (* GIMarshallingTestsCallbackReturnValueOnly) ();
+typedef glong (* GIMarshallingTestsCallbackReturnValueOnly) (void);
glong gi_marshalling_tests_callback_return_value_only (GIMarshallingTestsCallbackReturnValueOnly callback);