mirror of
https://github.com/ruby/ruby.git
synced 2025-08-15 13:39:04 +02:00
Use ANSI-style prototype declarations instead of the old K&R style
This commit is contained in:
parent
20bd19a9ad
commit
22a44735f0
1 changed files with 1 additions and 1 deletions
2
node.h
2
node.h
|
@ -50,7 +50,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
|
|||
#ifdef UNIVERSAL_PARSER
|
||||
rb_ast_t *rb_ast_new(rb_parser_config_t *config);
|
||||
#else
|
||||
rb_ast_t *rb_ast_new();
|
||||
rb_ast_t *rb_ast_new(void);
|
||||
#endif
|
||||
size_t rb_ast_memsize(const rb_ast_t*);
|
||||
void rb_ast_dispose(rb_ast_t*);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue