From 77ef6000c68e2b89ef0e572f6b4d60ab15deef29 Mon Sep 17 00:00:00 2001 From: Stefan Sauer Date: Tue, 6 Oct 2015 18:52:38 +0200 Subject: [PATCH] tracer: move prototype to the right header Fixes the build when the tracing subsystem is disabled. --- gst/gsttracer.h | 4 ++++ gst/gsttracerutils.h | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/gst/gsttracer.h b/gst/gsttracer.h index 957847eaae..8c8e5d44f4 100644 --- a/gst/gsttracer.h +++ b/gst/gsttracer.h @@ -67,6 +67,10 @@ void gst_tracing_register_hook (GstTracer *tracer, const gchar *detail, void gst_tracing_register_hook_id (GstTracer *tracer, GQuark detail, GCallback func); +/* tracing modules */ +gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type); + +/* tracing module helpers */ void gst_tracer_log_trace (GstStructure * s); G_END_DECLS diff --git a/gst/gsttracerutils.h b/gst/gsttracerutils.h index b41bbf8ed3..3a2a5b7c35 100644 --- a/gst/gsttracerutils.h +++ b/gst/gsttracerutils.h @@ -37,10 +37,6 @@ G_BEGIN_DECLS void _priv_gst_tracing_init (void); void _priv_gst_tracing_deinit (void); -/* tracing modules */ - -gboolean gst_tracer_register (GstPlugin * plugin, const gchar * name, GType type); - /* tracer quarks */ /* These enums need to match the number and order