From 9c6c7d11c795cd632c4d736577d7bb65ed35d729 Mon Sep 17 00:00:00 2001 From: Ryan Mounce Date: Tue, 14 Aug 2018 14:19:29 +0930 Subject: [PATCH] firmware-utils/mksercommfw: fix build with clang/macOS fixes error: non-void function 'main' should return a value Fixes: FS#1770 Signed-off-by: Ryan Mounce --- tools/firmware-utils/src/mksercommfw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/firmware-utils/src/mksercommfw.c b/tools/firmware-utils/src/mksercommfw.c index b415776a95..7f31d4f4c7 100644 --- a/tools/firmware-utils/src/mksercommfw.c +++ b/tools/firmware-utils/src/mksercommfw.c @@ -135,7 +135,7 @@ int main(int argc, char *argv[]) bufferFile(&myfile, 0); char chksum = getCheckSum(myfile.file_data, myfile.file_size); printf("Checksum for File: %X.\n", chksum); - return; + return 0; } if (argc != 6) { -- 2.25.1