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

@ -92,7 +92,7 @@ struct TSLanguage {
struct {
const bool *states;
const TSSymbol *symbol_map;
void *(*create)();
void *(*create)(void);
void (*destroy)(void *);
bool (*scan)(void *, TSLexer *, const bool *symbol_whitelist);
unsigned (*serialize)(void *, char *);