summaryrefslogtreecommitdiff
path: root/yjit_asm.h
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_asm.h
parent350b686a2c6cc8f27466222cf8520a8fda931ea2 (diff)
Add (void) for no arg functions
Diffstat (limited to 'yjit_asm.h')
-rw-r--r--yjit_asm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/yjit_asm.h b/yjit_asm.h
index 93762987bc..de6ccb1cdc 100644
--- a/yjit_asm.h
+++ b/yjit_asm.h
@@ -256,7 +256,7 @@ x86opnd_t const_ptr_opnd(const void *ptr);
// Machine code allocation
uint8_t* alloc_exec_mem(uint32_t mem_size);
-code_page_t* alloc_code_page();
+code_page_t* alloc_code_page(void);
void free_code_page(code_page_t* code_page);
// Code block methods