aboutsummaryrefslogtreecommitdiffstats
path: root/tools/firmware-utils
diff options
context:
space:
mode:
authorRyan Mounce <ryan@mounce.com.au>2018-08-14 14:19:29 +0930
committerMathias Kresin <dev@kresin.me>2018-08-14 10:19:37 +0200
commit9c6c7d11c795cd632c4d736577d7bb65ed35d729 (patch)
treec493cbc276c10f5948a42642a86c9861978fc417 /tools/firmware-utils
parent437e35f8a3988cadf8797354e78cce3696b90916 (diff)
downloadupstream-9c6c7d11c795cd632c4d736577d7bb65ed35d729.tar.gz
upstream-9c6c7d11c795cd632c4d736577d7bb65ed35d729.tar.bz2
upstream-9c6c7d11c795cd632c4d736577d7bb65ed35d729.zip
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 <ryan@mounce.com.au>
Diffstat (limited to 'tools/firmware-utils')
-rw-r--r--tools/firmware-utils/src/mksercommfw.c2
1 files changed, 1 insertions, 1 deletions
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) {