v4l2: move G_END_DECLS to the end
authorStefan Kost <ensonic@users.sf.net>
Mon, 18 Jan 2010 12:57:42 +0000 (14:57 +0200)
committerStefan Kost <ensonic@users.sf.net>
Mon, 18 Jan 2010 12:57:42 +0000 (14:57 +0200)
sys/v4l2/gstv4l2bufferpool.h

index fc2d505..70ab082 100644 (file)
@@ -78,8 +78,6 @@ struct _GstV4l2Buffer {
   GstV4l2BufferPool *pool;
 };
 
-G_END_DECLS
-
 void gst_v4l2_buffer_pool_destroy (GstV4l2BufferPool * pool);
 GstV4l2BufferPool *gst_v4l2_buffer_pool_new (GstElement *v4l2elem, gint fd, gint num_buffers, GstCaps * caps, gboolean requeuebuf, enum v4l2_buf_type type);
 
@@ -94,4 +92,6 @@ gint gst_v4l2_buffer_pool_available_buffers (GstV4l2BufferPool *pool);
 #define GST_V4L2_BUFFER_POOL_LOCK(pool)     g_mutex_lock ((pool)->lock)
 #define GST_V4L2_BUFFER_POOL_UNLOCK(pool)   g_mutex_unlock ((pool)->lock)
 
+G_END_DECLS
+
 #endif /* __GSTV4L2BUFFER_H__ */