Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
test_*: Remove unused parameters from main
  • Loading branch information
donald committed May 5, 2022
1 parent bbd0b5c commit e6edbd5
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion test_mx_log.c
Expand Up @@ -93,7 +93,7 @@ static void test_mx_log_level_syslog_to_mxlog(void)
assert(mx_log_level_syslog_to_mxlog(LOG_DEBUG) == MX_LOG_DEBUG);
}

int main(int argc, char *argv[])
int main(void)
{
test_mx_log_level_syslog_to_mxlog();
test_mx_log_level_mxlog_to_syslog();
Expand Down
2 changes: 1 addition & 1 deletion test_mx_util.c
Expand Up @@ -556,7 +556,7 @@ static void test_mx_call_external(void) {

}

int main(int argc, char *argv[])
int main(void)
{
test_mx_strskipwhitespaces();
test_mx_strtoul();
Expand Down
2 changes: 1 addition & 1 deletion test_mxqd_control.c
Expand Up @@ -29,7 +29,7 @@ static void test_mxqd_control(void)
assert(1);
}

int main(int argc, char *argv[])
int main(void)
{
test_mxqd_control();
return 0;
Expand Down

0 comments on commit e6edbd5

Please sign in to comment.