[geany/geany] 2ae6cd: Fix incomplete prototype

Colomban Wendling git-noreply at xxxxx
Sat Apr 20 09:50:36 UTC 2019


Branch:      refs/heads/master
Author:      Colomban Wendling <ban at herbesfolles.org>
Committer:   Colomban Wendling <ban at herbesfolles.org>
Date:        Sat, 20 Apr 2019 09:50:36 UTC
Commit:      2ae6cd9c1a304d4882a47e38253bc8fcb57bec1b
             https://github.com/geany/geany/commit/2ae6cd9c1a304d4882a47e38253bc8fcb57bec1b

Log Message:
-----------
Fix incomplete prototype

Use `void` for empty argument lists.


Modified Paths:
--------------
    src/tagmanager/tm_parser.c

Modified: src/tagmanager/tm_parser.c
2 lines changed, 1 insertions(+), 1 deletions(-)
===================================================================
@@ -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);
 }



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Commits mailing list