tests/bsim: Switch main return type from void to int

These changes were automated using coccinelle with the following
script:

@@
@@
- void
+ int
main(...) {
    ...
-	return;
+	return 0;
    ...
}

Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
Keith Packard 2023-04-12 10:55:19 -07:00 committed by Stephanos Ioannidis
commit 5681f942a8
5 changed files with 10 additions and 5 deletions

View file

@ -59,7 +59,8 @@ struct bst_test_list *test_encrypted_ad_data_install(struct bst_test_list *tests
bst_test_install_t test_installers[] = {test_encrypted_ad_data_install, NULL};
void main(void)
int main(void)
{
bst_main();
return 0;
}

View file

@ -89,9 +89,10 @@ static struct bst_test_list *install(struct bst_test_list *tests)
bst_test_install_t test_installers[] = { install, NULL };
void main(void)
int main(void)
{
bst_main();
return 0;
}

View file

@ -33,7 +33,8 @@ static struct bst_test_list *install(struct bst_test_list *tests)
bst_test_install_t test_installers[] = {install, NULL};
void main(void)
int main(void)
{
bst_main();
return 0;
}

View file

@ -71,7 +71,8 @@ struct bst_test_list *test_privacy_install(struct bst_test_list *tests)
bst_test_install_t test_installers[] = {test_privacy_install, NULL};
void main(void)
int main(void)
{
bst_main();
return 0;
}

View file

@ -33,7 +33,8 @@ static struct bst_test_list *install(struct bst_test_list *tests)
bst_test_install_t test_installers[] = {install, NULL};
void main(void)
int main(void)
{
bst_main();
return 0;
}