summaryrefslogtreecommitdiff
path: root/media-sound/twolame/files/twolame-0.4.0-fix_C23.patch
blob: e484fa88d6036afd7812d1b90f67444cb99f2fa2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
PR merged https://github.com/njh/twolame/pull/105.patch
fix old-style-def for c23
--- a/libtwolame/psycho_2.c
+++ b/libtwolame/psycho_2.c
@@ -54,9 +54,7 @@ static const FLOAT bmax[27] = { 20.0, 20.0, 20.0, 20.0, 20.0, 17.0, 15.0,
                                 4.5, 4.5, 4.5, 3.5, 3.5, 3.5
                               };
 
-static void psycho_2_read_absthr(absthr, table)
-FLOAT *absthr;
-int table;
+static void psycho_2_read_absthr(FLOAT *absthr, int table)
 {
     int j;
 #include "psycho_2_absthr.h"