diff --git a/include/mruby/istruct.h b/include/mruby/istruct.h index d6b6116a7..d36d2807d 100644 --- a/include/mruby/istruct.h +++ b/include/mruby/istruct.h @@ -30,7 +30,7 @@ struct RIStruct { #define RISTRUCT(obj) ((struct RIStruct*)(mrb_ptr(obj))) #define ISTRUCT_PTR(obj) (RISTRUCT(obj)->inline_data) -MRB_INLINE mrb_int mrb_istruct_size() +MRB_INLINE mrb_int mrb_istruct_size(void) { return ISTRUCT_DATA_SIZE; }