diff options
author | Maxime Chevalier-Boisvert <maxime.chevalierboisvert@shopify.com> | 2021-07-14 10:08:33 -0400 |
---|---|---|
committer | Alan Wu <XrXr@users.noreply.github.com> | 2021-10-20 18:19:37 -0400 |
commit | d5f18f7845f0f0fb3024ada63a552deac9c11ad7 (patch) | |
tree | 03be34e395196e09716a35664c0563317114c935 /yjit_iface.c | |
parent | 350b686a2c6cc8f27466222cf8520a8fda931ea2 (diff) |
Add (void) for no arg functions
Diffstat (limited to 'yjit_iface.c')
-rw-r--r-- | yjit_iface.c | 2 |
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); |