examples: fix cgroup test build
authorTim-Philipp Müller <tim@centricular.com>
Tue, 25 Feb 2014 14:06:47 +0000 (14:06 +0000)
committerTim-Philipp Müller <tim@centricular.com>
Tue, 25 Feb 2014 14:06:47 +0000 (14:06 +0000)
Fixes build failure caused by compiler warning:
test-cgroups.c:82:35: error: no previous prototype for ‘gst_rtsp_cgroup_pool_get_type’ [-Werror=missing-prototypes]

examples/test-cgroups.c

index 0a38916..0412e4d 100644 (file)
@@ -79,6 +79,8 @@ static void default_thread_enter (GstRTSPThreadPool * pool,
 static void default_configure_thread (GstRTSPThreadPool * pool,
     GstRTSPThread * thread, GstRTSPContext * ctx);
 
+static GType gst_rtsp_cgroup_pool_get_type (void);
+
 G_DEFINE_TYPE (GstRTSPCGroupPool, gst_rtsp_cgroup_pool,
     GST_TYPE_RTSP_THREAD_POOL);