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:
parent
0b90fd5adf
commit
5681f942a8
5 changed files with 10 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue