diff options
author | Martin Pitt <martinpitt@gnome.org> | 2013-01-15 10:05:20 +0100 |
---|---|---|
committer | Martin Pitt <martinpitt@gnome.org> | 2013-01-15 10:05:20 +0100 |
commit | f65395f5f9f1ef980315ae11c454c324bb61e24d (patch) | |
tree | 08af0de69599d74b23896091b0c20b4b3b0d4a1f /tests/gimarshallingtests.h | |
parent | 5e4ddbcb8eacede04d5ade9e630d2efe29c022a0 (diff) | |
download | gobject-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.h | 2 |
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); |