summaryrefslogtreecommitdiff
path: root/gst/gstregistrybinary.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-02 22:58:06 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-11 10:59:57 +0100
commit7e7f51f61735d3f38c370c20c2a0bd5ab206611d (patch)
tree78b3127a27dab9e56a06fc83a290de0cddaf771f /gst/gstregistrybinary.c
parent8a4aed855a38b301dbae43535ea565e194119c41 (diff)
Fixes for -Wmissing-declarations -Wmissing-prototypes
Also adds those flags to the configure warning flags https://bugzilla.gnome.org/show_bug.cgi?id=611692
Diffstat (limited to 'gst/gstregistrybinary.c')
-rw-r--r--gst/gstregistrybinary.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gst/gstregistrybinary.c b/gst/gstregistrybinary.c
index e7c41cf96..19f7d4540 100644
--- a/gst/gstregistrybinary.c
+++ b/gst/gstregistrybinary.c
@@ -609,6 +609,10 @@ Error:
}
#ifndef GST_REMOVE_DEPRECATED
+#ifdef GST_DISABLE_DEPRECATED
+gboolean
+gst_registry_xml_read_cache (GstRegistry * registry, const char *location);
+#endif
/* FIXME 0.11: these symbols are here for backwards compatibility and should
* be removed or made private */
gboolean
@@ -617,6 +621,10 @@ gst_registry_xml_read_cache (GstRegistry * registry, const char *location)
return FALSE;
}
+#ifdef GST_DISABLE_DEPRECATED
+gboolean
+gst_registry_xml_write_cache (GstRegistry * registry, const char *location);
+#endif
gboolean
gst_registry_xml_write_cache (GstRegistry * registry, const char *location)
{