Use ANSI-style prototype declarations instead of the old K&R style
This commit is contained in:
parent
20bd19a9ad
commit
22a44735f0
2
node.h
2
node.h
@ -50,7 +50,7 @@ RUBY_SYMBOL_EXPORT_BEGIN
|
|||||||
#ifdef UNIVERSAL_PARSER
|
#ifdef UNIVERSAL_PARSER
|
||||||
rb_ast_t *rb_ast_new(rb_parser_config_t *config);
|
rb_ast_t *rb_ast_new(rb_parser_config_t *config);
|
||||||
#else
|
#else
|
||||||
rb_ast_t *rb_ast_new();
|
rb_ast_t *rb_ast_new(void);
|
||||||
#endif
|
#endif
|
||||||
size_t rb_ast_memsize(const rb_ast_t*);
|
size_t rb_ast_memsize(const rb_ast_t*);
|
||||||
void rb_ast_dispose(rb_ast_t*);
|
void rb_ast_dispose(rb_ast_t*);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user