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:
Ed Maste 2022-03-31 21:36:55 -04:00
parent 0913953c9e
commit 7bfe5e4515
2 changed files with 3 additions and 2 deletions

View File

@ -51,7 +51,8 @@ thr_routine(void *arg __unused)
return (NULL); return (NULL);
} }
int main(int argc __unused, char **argv __unused) int
main(void)
{ {
pthread_t td; pthread_t td;
int i; int i;

View File

@ -46,7 +46,7 @@ thread(void *arg)
} }
int int
main(int argc __unused, char *argv[] __unused) main(void)
{ {
pthread_t thr; pthread_t thr;
pthread_mutex_t mtx; pthread_mutex_t mtx;