diff mbox

[2/3] tinycompress: crec: fix function declaration

Message ID 1453134603-25356-3-git-send-email-vinod.koul@intel.com (mailing list archive)
State New, archived
Headers show

Commit Message

Vinod Koul Jan. 18, 2016, 4:30 p.m. UTC
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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

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;