Use explicit syntax for functions with no parameters

This commit is contained in:
Max Brunsfeld 2019-03-21 16:06:06 -07:00
parent 2e5d3d3770
commit 5a59f19b69
8 changed files with 14 additions and 14 deletions

View file

@ -1501,7 +1501,7 @@ static bool ts_parser_has_outstanding_parse(TSParser *self) {
// Parser - Public
TSParser *ts_parser_new() {
TSParser *ts_parser_new(void) {
TSParser *self = ts_calloc(1, sizeof(TSParser));
ts_lexer_init(&self->lexer);
array_init(&self->reduce_actions);