File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -446,17 +446,17 @@ struct thread_pool {
446
446
// Globals for thread pool
447
447
struct thread_pool pool ;
448
448
449
- static inline int pool_has_space ()
449
+ static inline int pool_has_space (void )
450
450
{
451
451
return ((pool .head + 1 ) % MAX_JOBQUEUE ) != pool .tail ;
452
452
}
453
453
454
- static inline int pool_has_work ()
454
+ static inline int pool_has_work (void )
455
455
{
456
456
return (pool .queue != pool .head );
457
457
}
458
458
459
- int pool_get_work ()
459
+ int pool_get_work (void )
460
460
{
461
461
assert (pool .queue != pool .head );
462
462
pool .queue = (pool .queue + 1 ) % MAX_JOBQUEUE ;
@@ -532,7 +532,7 @@ void *thread_worker(void *none)
532
532
pthread_exit (NULL );
533
533
}
534
534
535
- int pool_create ()
535
+ int pool_create (void )
536
536
{
537
537
int i ;
538
538
int nthreads = global_options .threads - 1 ;
@@ -547,7 +547,7 @@ int pool_create()
547
547
return 0 ;
548
548
}
549
549
550
- void pool_quit ()
550
+ void pool_quit (void )
551
551
{
552
552
int i ;
553
553
pthread_mutex_lock (& pool .mutex );
You can’t perform that action at this time.
0 commit comments