Skip to content

Commit

Permalink
add void signature to no-argument functions (#81)
Browse files Browse the repository at this point in the history
  • Loading branch information
d-netto authored Oct 11, 2023
1 parent 2452a59 commit 2c547fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gc-pages.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,17 +30,17 @@ static uint64_t poolmem_bytes_allocated = 0;
static uint64_t poolmem_blocks_allocated_total = 0;


JL_DLLEXPORT uint64_t jl_poolmem_blocks_allocated_total()
JL_DLLEXPORT uint64_t jl_poolmem_blocks_allocated_total(void)
{
return poolmem_blocks_allocated_total;
}

JL_DLLEXPORT uint64_t jl_poolmem_bytes_allocated()
JL_DLLEXPORT uint64_t jl_poolmem_bytes_allocated(void)
{
return poolmem_bytes_allocated;
}

JL_DLLEXPORT uint64_t jl_current_pg_count()
JL_DLLEXPORT uint64_t jl_current_pg_count(void)
{
return (uint64_t)jl_atomic_load(&current_pg_count);
}
Expand Down

0 comments on commit 2c547fa

Please sign in to comment.