aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vm.c2
-rw-r--r--vm_trace.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/vm.c b/vm.c
index cb7007ac13..4cede5e247 100644
--- a/vm.c
+++ b/vm.c
@@ -2733,7 +2733,7 @@ ruby_vm_destruct(rb_vm_t *vm)
size_t rb_vm_memsize_waiting_list(struct list_head *waiting_list); // process.c
size_t rb_vm_memsize_waiting_fds(struct list_head *waiting_fds); // thread.c
-size_t rb_vm_memsize_postponed_job_buffer(); // vm_trace.c
+size_t rb_vm_memsize_postponed_job_buffer(void); // vm_trace.c
size_t rb_vm_memsize_workqueue(struct list_head *workqueue); // vm_trace.c
// Used for VM memsize reporting. Returns the size of the at_exit list by
diff --git a/vm_trace.c b/vm_trace.c
index 7f6a60b0cb..5fa9acd487 100644
--- a/vm_trace.c
+++ b/vm_trace.c
@@ -1596,7 +1596,7 @@ rb_vm_memsize_workqueue(struct list_head *workqueue)
// Used for VM memsize reporting. Returns the total size of the postponed job
// buffer that was allocated at initialization.
size_t
-rb_vm_memsize_postponed_job_buffer()
+rb_vm_memsize_postponed_job_buffer(void)
{
return sizeof(rb_postponed_job_t) * MAX_POSTPONED_JOB;
}