summaryrefslogtreecommitdiff
path: root/yjit_iface.c
diff options
context:
space:
mode:
authorMaxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com>2021-07-14 10:08:33 -0400
committerAlan Wu <XrXr@users.noreply.github.com>2021-10-20 18:19:37 -0400
commitd5f18f7845f0f0fb3024ada63a552deac9c11ad7 (patch)
tree03be34e395196e09716a35664c0563317114c935 /yjit_iface.c
parent350b686a2c6cc8f27466222cf8520a8fda931ea2 (diff)
Add (void) for no arg functions
Diffstat (limited to 'yjit_iface.c')
-rw-r--r--yjit_iface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_iface.c b/yjit_iface.c
index a7d18e0687..db91b07e5a 100644
--- a/yjit_iface.c
+++ b/yjit_iface.c
@@ -937,7 +937,7 @@ static const rb_data_type_t yjit_code_page_type = {
};
// Allocate a code page and wrap it into a Ruby object owned by the GC
-VALUE rb_yjit_code_page_alloc()
+VALUE rb_yjit_code_page_alloc(void)
{
code_page_t* code_page = alloc_code_page();
VALUE cp_obj = TypedData_Wrap_Struct(0, &yjit_code_page_type, code_page);