Skip to content

Commit

Permalink
Fix incomplete prototype
Browse files Browse the repository at this point in the history
Use `void` for empty argument lists.
  • Loading branch information
b4n committed Apr 20, 2019
1 parent acebc2d commit 2ae6cd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tagmanager/tm_parser.c
Expand Up @@ -628,7 +628,7 @@ static void add_subparser(TMParserType lang, TMParserType sublang, TMSubparserMa

#define SUBPARSER_MAP_ENTRY(lang, sublang, map) add_subparser(TM_PARSER_##lang, TM_PARSER_##sublang, map, G_N_ELEMENTS(map))

static void init_subparser_map()
static void init_subparser_map(void)
{
SUBPARSER_MAP_ENTRY(HTML, JAVASCRIPT, subparser_HTML_javascript_map);
}
Expand Down

0 comments on commit 2ae6cd9

Please sign in to comment.