gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro, so that gcc doesn't complain if...

Original commit message from CVS:
Reviewed by: Tim-Philipp Müller  <tim at centricular dot net>
* gst/gstutils.h:
Add prototype for _get_type() function to GST_BOILERPLATE_FULL
macro, so that gcc doesn't complain if the -Wmissing-prototypes
compiler switch is being used (#325429).
This commit is contained in:
Tim-Philipp Müller 2006-01-02 20:26:06 +00:00
parent f3b5a1952c
commit 76da1081b6
2 changed files with 11 additions and 0 deletions

View file

@ -1,3 +1,12 @@
2006-01-02 James Livingston <jrl at ids dot org dot au>
Reviewed by: Tim-Philipp Müller <tim at centricular dot net>
* gst/gstutils.h:
Add prototype for _get_type() function to GST_BOILERPLATE_FULL
macro, so that gcc doesn't complain if the -Wmissing-prototypes
compiler switch is being used (#325429).
2005-12-29 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstbin.c: (gst_bin_query):

View file

@ -107,6 +107,8 @@ type_as_function ## _class_init_trampoline (gpointer g_class, \
type_as_function ## _class_init ((type ## Class *)g_class); \
} \
\
GType type_as_function ## _get_type (void); \
\
GType \
type_as_function ## _get_type (void) \
{ \