]> git.alsa-project.org Git - tinycompress.git/commitdiff
tinycompress: crec: fix function declaration
authorVinod Koul <vinod.koul@intel.com>
Sat, 9 Jan 2016 08:12:46 +0000 (13:42 +0530)
committerVinod Koul <vinod.koul@intel.com>
Sat, 9 Jan 2016 08:25:49 +0000 (13:55 +0530)
finish_record was not following ANSI standard for declaration as warned by
sparse

crec.c:193:26: warning: non-ANSI function declaration of function 'finish_record'

Signed-off-by: Vinod Koul <vinod.koul@intel.com>
src/utils/crec.c

index e61e620d649093ef793c8a28b607f7b9c09708d8..6e8166d8f77bcac74f3614e41ed34b68eba78569 100644 (file)
@@ -190,7 +190,7 @@ static int print_time(struct compress *compress)
        return 0;
 }
 
-static int finish_record()
+static int finish_record(void)
 {
        struct wave_header header;
        int ret;