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@xxxxxxxxx> --- 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 e61e620d6490..6e8166d8f77b 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; -- 1.9.1 _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel