Fix more void prototypes in tests

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441
Reviewed-by: Colin Walters <walters@verbum.org>
This commit is contained in:
Simon McVittie 2012-11-02 15:19:32 +00:00
parent eb7dc2bcc6
commit 733acc2316
2 changed files with 3 additions and 3 deletions

View File

@ -64,8 +64,8 @@ struct _BaseObjectClass
GObjectClass parent_class;
};
static GType base_object_get_type ();
static GType derived_object_get_type ();
static GType base_object_get_type (void);
static GType derived_object_get_type (void);
/*
* DerivedObject, the child class of DerivedObject

View File

@ -442,7 +442,7 @@ test_construction_setup (PerformanceTest *test)
struct ConstructionTest *data;
data = g_new0 (struct ConstructionTest, 1);
data->type = ((GType (*)())test->extra_data)();
data->type = ((GType (*)(void))test->extra_data)();
return data;
}