gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro...
authorTim-Philipp Müller <tim@centricular.net>
Mon, 2 Jan 2006 20:26:06 +0000 (20:26 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 2 Jan 2006 20:26:06 +0000 (20:26 +0000)
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).

ChangeLog
gst/gstutils.h

index 3c9b22f..53536cc 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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):
index 46848ca..273295c 100644 (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)                                   \
 {                                                                      \