From 22a44735f08009cd53c5aa9a7e912378869aa29a Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Thu, 21 Sep 2023 23:01:02 +0900 Subject: [PATCH] Use ANSI-style prototype declarations instead of the old K&R style --- node.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node.h b/node.h index 1f365960fc..645f935071 100644 --- a/node.h +++ b/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*);