From 3c7c90ae0097d0aafbe8cd2152553927061c70dc Mon Sep 17 00:00:00 2001 From: Vinod Koul Date: Sat, 9 Jan 2016 13:42:46 +0530 Subject: [PATCH] tinycompress: crec: fix function declaration 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 --- src/utils/crec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/crec.c b/src/utils/crec.c index e61e620..6e8166d 100644 --- a/src/utils/crec.c +++ b/src/utils/crec.c @@ -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; -- 2.47.3