tracer: move prototype to the right header
authorStefan Sauer <ensonic@users.sf.net>
Tue, 6 Oct 2015 16:52:38 +0000 (18:52 +0200)
committerStefan Sauer <ensonic@users.sf.net>
Tue, 6 Oct 2015 16:52:38 +0000 (18:52 +0200)
Fixes the build when the tracing subsystem is disabled.

gst/gsttracer.h
gst/gsttracerutils.h

index 957847e..8c8e5d4 100644 (file)
@@ -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
index b41bbf8..3a2a5b7 100644 (file)
@@ -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