Add -Wold-style-definition
authorBenjamin Otte <otte@redhat.com>
Mon, 22 Mar 2010 15:56:03 +0000 (16:56 +0100)
committerTim-Philipp Müller <tim.muller@collabora.co.uk>
Tue, 11 May 2010 13:31:43 +0000 (14:31 +0100)
and fix the warnings

tests/check/elements/capssetter.c

index c11ad4c..0a6986b 100644 (file)
@@ -114,7 +114,7 @@ push_and_test (GstCaps * prop_caps, gboolean join, gboolean replace,
 #define SRC_HEIGHT 12
 
 static GstCaps *
-make_src_caps ()
+make_src_caps (void)
 {
   return gst_caps_new_simple ("video/x-raw-yuv", "width", G_TYPE_INT, SRC_WIDTH,
       "height", G_TYPE_INT, SRC_HEIGHT, NULL);