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

@ -22,7 +22,7 @@ TSNode ts_node_new(const TSTree *tree, const Subtree *subtree, Length position,
};
}
static inline TSNode ts_node__null() {
static inline TSNode ts_node__null(void) {
return ts_node_new(NULL, NULL, length_zero(), 0);
}