type func(); is different from type func(void);
If a function declarator includes no parameter list, that doesn't mean the function takes zero parameter. rb_ast_new here does take zero parameter, so it should be explicitly prototypes as (void). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
58823392b4
commit
01d998aafe
Loading…
x
Reference in New Issue
Block a user