samples, tests: cleanup void main usage.

Some samples, tests got missed in the switch from void main() to
int main().  Cleanup those samples/tests to use int main().

Signed-off-by: Kumar Gala <kumar.gala@intel.com>
This commit is contained in:
Kumar Gala 2023-04-28 09:27:46 -05:00 committed by Carles Cufí
commit 340ed20c12
10 changed files with 49 additions and 29 deletions

View file

@ -10,7 +10,7 @@
#include <zephyr/kernel.h>
#include <stdio.h>
void main(void)
int main(void)
{
printf("Waiting...\n");
k_sleep(K_SECONDS(1));
@ -22,4 +22,6 @@ void main(void)
} else {
printf("Error, failed to set boot mode: %d\n", rc);
}
return 0;
}