summaryrefslogtreecommitdiff
path: root/tests/scanner/foo.h
diff options
context:
space:
mode:
authorAndreas Rottmann <a.rottmann@gmx.at>2009-03-19 01:25:09 +0100
committerAndreas Rottmann <a.rottmann@gmx.at>2009-03-19 01:25:09 +0100
commitbec176d20df2f0e25a0f3dc84a3dbe3edeecd65f (patch)
tree5248f71005734fbc66e7c535ede87d1776a2c4cb /tests/scanner/foo.h
parent23e6fa6993c046de032598127ea48d4a7ee00935 (diff)
downloadgobject-introspection-bec176d20df2f0e25a0f3dc84a3dbe3edeecd65f.tar.gz
Some small cosmetic tweaks
* Fix compiler warnings: - Missing return value in annotation-testing code - Fix two function declarations to have a (void) parameter list -- this is not C++ ;-) * Add tools/g-ir-scanner to .gitignore, as it's now generated
Diffstat (limited to 'tests/scanner/foo.h')
-rw-r--r--tests/scanner/foo.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/scanner/foo.h b/tests/scanner/foo.h
index 8097cfc9..be3a9554 100644
--- a/tests/scanner/foo.h
+++ b/tests/scanner/foo.h
@@ -120,7 +120,7 @@ gboolean foo_object_virtual_method (FooObject *object, int first
void foo_object_read (FooObject *object, int offset, int length);
-int foo_object_static_meth ();
+int foo_object_static_meth (void);
struct _FooSubobject
{
@@ -133,9 +133,9 @@ struct _FooSubobjectClass
};
GType foo_subobject_get_type (void) G_GNUC_CONST;
-FooSubobject* foo_subobject_new ();
+FooSubobject* foo_subobject_new (void);
-FooObject * foo_object_get_default ();
+FooObject * foo_object_get_default (void);
GType foo_buffer_get_type (void);