Fix for -Wold-style-definition
authorBenjamin Otte <otte@redhat.com>
Wed, 17 Mar 2010 10:14:29 +0000 (11:14 +0100)
committerBenjamin Otte <otte@redhat.com>
Wed, 17 Mar 2010 11:09:25 +0000 (12:09 +0100)
I didn't add the flag to configure because libvisual ships headers that
trigger this warning.

gst/audioconvert/gstfastrandom.h

index b1c88b5..022b87e 100644 (file)
@@ -31,7 +31,7 @@
  * and returning a pseudo random number between 0 and 2^32 - 1.
  */
 static inline guint32
-gst_fast_random_uint32 ()
+gst_fast_random_uint32 (void)
 {
   static guint32 state = 0xdeadbeef;