mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-11 15:06:14 +01:00
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:
parent
eb7dc2bcc6
commit
733acc2316
@ -64,8 +64,8 @@ struct _BaseObjectClass
|
|||||||
GObjectClass parent_class;
|
GObjectClass parent_class;
|
||||||
};
|
};
|
||||||
|
|
||||||
static GType base_object_get_type ();
|
static GType base_object_get_type (void);
|
||||||
static GType derived_object_get_type ();
|
static GType derived_object_get_type (void);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* DerivedObject, the child class of DerivedObject
|
* DerivedObject, the child class of DerivedObject
|
||||||
|
@ -442,7 +442,7 @@ test_construction_setup (PerformanceTest *test)
|
|||||||
struct ConstructionTest *data;
|
struct ConstructionTest *data;
|
||||||
|
|
||||||
data = g_new0 (struct ConstructionTest, 1);
|
data = g_new0 (struct ConstructionTest, 1);
|
||||||
data->type = ((GType (*)())test->extra_data)();
|
data->type = ((GType (*)(void))test->extra_data)();
|
||||||
|
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user