Add -Wold-style-definition

and fix the warnings
This commit is contained in:
Benjamin Otte 2010-03-22 16:56:03 +01:00 committed by Tim-Philipp Müller
parent 076d3ff456
commit a200ec01b8

View 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);