summaryrefslogtreecommitdiff
path: root/ext/dc1394
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
committerBenjamin Otte <otte@redhat.com>2010-03-21 21:39:18 +0100
commitf96e4f15817974e8d3675bfe3980cdf02815bd74 (patch)
tree8eb2ba9bc6058e9a8d5ad2a46e6bd5034e3f3813 /ext/dc1394
parent46f4c7a6c127dbd20fd9f88a10518e084501cd36 (diff)
downloadgstreamer-plugins-bad-f96e4f15817974e8d3675bfe3980cdf02815bd74.tar.gz
Add -Wmissing-declarations -Wmissing-prototypes to configure flags
And fix all warnings
Diffstat (limited to 'ext/dc1394')
-rw-r--r--ext/dc1394/gstdc1394.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/ext/dc1394/gstdc1394.c b/ext/dc1394/gstdc1394.c
index 4848b65b7..583570762 100644
--- a/ext/dc1394/gstdc1394.c
+++ b/ext/dc1394/gstdc1394.c
@@ -92,7 +92,7 @@ static gint gst_dc1394_caps_set_framerate_list (GstStructure * gs,
static void gst_dc1394_framerate_const_to_frac (int framerateconst,
GValue * framefrac);
-static GstCaps *gst_dc1394_get_all_dc1394_caps ();
+static GstCaps *gst_dc1394_get_all_dc1394_caps (void);
static GstCaps *gst_dc1394_get_cam_caps (GstDc1394 * src);
static gboolean gst_dc1394_open_cam_with_best_caps (GstDc1394 * src);
static gint gst_dc1394_framerate_frac_to_const (gint num, gint denom);
@@ -811,10 +811,8 @@ gst_dc1394_framerate_const_to_frac (gint framerateconst, GValue * framefrac)
}
}
-
-
-GstCaps *
-gst_dc1394_get_all_dc1394_caps ()
+static GstCaps *
+gst_dc1394_get_all_dc1394_caps (void)
{
/*
generate all possible caps