projects
/
openwrt
/
staging
/
robimarko.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
437e35f
)
firmware-utils/mksercommfw: fix build with clang/macOS
author
Ryan Mounce
<ryan@mounce.com.au>
Tue, 14 Aug 2018 04:49:29 +0000
(14:19 +0930)
committer
Mathias Kresin
<dev@kresin.me>
Tue, 14 Aug 2018 08:19:37 +0000
(10:19 +0200)
fixes error: non-void function 'main' should return a value
Fixes: FS#1770
Signed-off-by: Ryan Mounce <ryan@mounce.com.au>
tools/firmware-utils/src/mksercommfw.c
patch
|
blob
|
history
diff --git
a/tools/firmware-utils/src/mksercommfw.c
b/tools/firmware-utils/src/mksercommfw.c
index b415776a956d7e3a5fa886df7d8476911a98f9dc..7f31d4f4c79c3b6bdc6d74af66e1fc2581727f59 100644
(file)
--- 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) {