commit | ec2ac82c32832dcc1fadcd00d9c67e0bce0d52b7 | [log] [tgz] |
---|---|---|
author | Keith Packard <keithp@keithp.com> | Thu Apr 27 09:56:10 2023 -0700 |
committer | Jamie <40387179+nordicjm@users.noreply.github.com> | Tue May 02 15:24:20 2023 +0100 |
tree | 4ed4016345032acb0cbb59ee316a6ae3a35745b7 | |
parent | 7f982b0f6f7c817c7e282507b48ca6e2fafefa2b [diff] [blame] |
boot/zephyr: switch main return type to 'int' Adapt to Zephyr's change requiring main to return int. Signed-off-by: Keith Packard <keithp@keithp.com>
diff --git a/boot/zephyr/main.c b/boot/zephyr/main.c index 5201415..d8d4cff 100644 --- a/boot/zephyr/main.c +++ b/boot/zephyr/main.c
@@ -530,7 +530,7 @@ } #endif -void main(void) +int main(void) { struct boot_rsp rsp; int rc;