shithub: aubio

Download patch

ref: 5fef5f10c7f6631af4654c3e18f748216699ea62
parent: 158e031b2ce797901e8e4f39ad185c008e4103c2
author: Paul Brossier <piem@piem.org>
date: Mon Dec 30 12:20:22 EST 2013

src/onset/peakpicker.c: add void to build with -Wold-style-definition

--- a/src/onset/peakpicker.c
+++ b/src/onset/peakpicker.c
@@ -165,7 +165,7 @@
 }
 
 aubio_peakpicker_t *
-new_aubio_peakpicker ()
+new_aubio_peakpicker (void)
 {
   aubio_peakpicker_t *t = AUBIO_NEW (aubio_peakpicker_t);
   t->threshold = 0.1;           /* 0.0668; 0.33; 0.082; 0.033; */
--