mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-30 12:23:06 +02:00
gio: tests: modules: declare _get_type prototype
GCC complains about non-static functions being defined without a previous prototype, even if they themselves provide one. https://bugzilla.gnome.org/show_bug.cgi?id=793399
This commit is contained in:
parent
609a28c0d4
commit
4f942122b7
@ -32,6 +32,8 @@ typedef struct _TestAClass {
|
||||
GObjectClass parent_class;
|
||||
} TestAClass;
|
||||
|
||||
GType test_a_get_type (void);
|
||||
|
||||
G_DEFINE_TYPE (TestA, test_a, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
|
@ -32,6 +32,8 @@ typedef struct _TestBClass {
|
||||
GObjectClass parent_class;
|
||||
} TestBClass;
|
||||
|
||||
GType test_b_get_type (void);
|
||||
|
||||
G_DEFINE_TYPE (TestB, test_b, G_TYPE_OBJECT)
|
||||
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user