Skip to content

Commit 415cf15

Browse files
committed
Fix -Wold-style-definition warnings in cont.c
Use (void) instead of () for functions taking no parameters.
1 parent 0c97596 commit 415cf15

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cont.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3591,7 +3591,7 @@ rb_fiber_pool_initialize(int argc, VALUE* argv, VALUE self)
35913591
*/
35923592

35933593
static size_t
3594-
shared_fiber_pool_minimum_count()
3594+
shared_fiber_pool_minimum_count(void)
35953595
{
35963596
size_t minimum_count = FIBER_POOL_MINIMUM_COUNT;
35973597

@@ -3611,7 +3611,7 @@ shared_fiber_pool_minimum_count()
36113611
}
36123612

36133613
static size_t
3614-
shared_fiber_pool_maximum_count()
3614+
shared_fiber_pool_maximum_count(void)
36153615
{
36163616
size_t maximum_count = 0;
36173617

0 commit comments

Comments
 (0)