diff options
author | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-21 23:01:02 +0900 |
---|---|---|
committer | Nobuyoshi Nakada <nobu@ruby-lang.org> | 2023-09-21 23:01:02 +0900 |
commit | 22a44735f08009cd53c5aa9a7e912378869aa29a (patch) | |
tree | ac8c7839a7ce697ffa67ebfafa2a2f71cf45f18d | |
parent | 20bd19a9ad1a2052c5616af70d4dd67657a19143 (diff) |
Use ANSI-style prototype declarations instead of the old K&R style
-rw-r--r-- | node.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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*); |