Bug: https://bugzilla.gnome.org/show_bug.cgi?id=687441
Reviewed-by: Colin Walters <walters@verbum.org>
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
struct ConstructionTest *data;
data = g_new0 (struct ConstructionTest, 1);
- data->type = ((GType (*)())test->extra_data)();
+ data->type = ((GType (*)(void))test->extra_data)();
return data;
}