From 76da1081b676ba949e1b6eb6e2f205893a2561dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim-Philipp=20M=C3=BCller?= Date: Mon, 2 Jan 2006 20:26:06 +0000 Subject: [PATCH] gst/gstutils.h: Add prototype for _get_type() function to GST_BOILERPLATE_FULL macro, so that gcc doesn't complain if... MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Original commit message from CVS: Reviewed by: Tim-Philipp Müller * 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 | 9 +++++++++ gst/gstutils.h | 2 ++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 3c9b22f27c..53536ccb4d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +2006-01-02 James Livingston + + Reviewed by: Tim-Philipp Müller + + * 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 * gst/gstbin.c: (gst_bin_query): diff --git a/gst/gstutils.h b/gst/gstutils.h index 46848ca8bd..273295cd8b 100644 --- a/gst/gstutils.h +++ b/gst/gstutils.h @@ -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) \ { \