From 253d9acbcd1691e105c1efb85efd95fcb2154e42 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 17 Mar 2010 11:14:29 +0100 Subject: [PATCH] Fix for -Wold-style-definition I didn't add the flag to configure because libvisual ships headers that trigger this warning. --- gst/audioconvert/gstfastrandom.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioconvert/gstfastrandom.h b/gst/audioconvert/gstfastrandom.h index b1c88b5..022b87e 100644 --- a/gst/audioconvert/gstfastrandom.h +++ b/gst/audioconvert/gstfastrandom.h @@ -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; -- 2.7.4