Apply some style(9) to pthread tests
Reported by: kib
Fixes: ef135466f8
("Clean up warnings in pthread tests")
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
0913953c9e
commit
7bfe5e4515
@ -51,7 +51,8 @@ thr_routine(void *arg __unused)
|
||||
return (NULL);
|
||||
}
|
||||
|
||||
int main(int argc __unused, char **argv __unused)
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
pthread_t td;
|
||||
int i;
|
||||
|
@ -46,7 +46,7 @@ thread(void *arg)
|
||||
}
|
||||
|
||||
int
|
||||
main(int argc __unused, char *argv[] __unused)
|
||||
main(void)
|
||||
{
|
||||
pthread_t thr;
|
||||
pthread_mutex_t mtx;
|
||||
|
Loading…
Reference in New Issue
Block a user