Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Wed, 04 May 2016 17:11:13 UTC Commit: 2bdc96776c62d171920b7b2a18374bc2d84577f6 https://github.com/geany/geany/commit/2bdc96776c62d171920b7b2a18374bc2d84577...
Log Message: ----------- Use proper C prototypes
Modified Paths: -------------- tagmanager/src/tm_ctags_wrappers.c tagmanager/src/tm_ctags_wrappers.h tagmanager/src/tm_source_file.c tagmanager/src/tm_source_file.h
Modified: tagmanager/src/tm_ctags_wrappers.c 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -32,7 +32,7 @@ typedef struct { } CallbackUserData;
-void tm_ctags_init() +void tm_ctags_init(void) { initializeParsing(); installLanguageMapDefaults(); @@ -165,7 +165,7 @@ gboolean tm_ctags_is_using_regex_parser(TMParserType lang) }
-guint tm_ctags_get_lang_count() +guint tm_ctags_get_lang_count(void) { return LanguageCount; }
Modified: tagmanager/src/tm_ctags_wrappers.h 4 lines changed, 2 insertions(+), 2 deletions(-) =================================================================== @@ -34,7 +34,7 @@ typedef gboolean (*tm_ctags_callback) (const tagEntryInfo *const tag, gboolean invalidate, void *user_data);
-void tm_ctags_init(); +void tm_ctags_init(void);
void tm_ctags_parse(guchar *buffer, gsize buffer_size, const gchar *file_name, TMParserType lang, tm_ctags_callback callback, @@ -52,7 +52,7 @@ gchar tm_ctags_get_kind_from_name(const gchar *name, TMParserType lang);
gboolean tm_ctags_is_using_regex_parser(TMParserType lang);
-guint tm_ctags_get_lang_count(); +guint tm_ctags_get_lang_count(void);
G_END_DECLS
Modified: tagmanager/src/tm_source_file.c 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -661,7 +661,7 @@ static gboolean tm_source_file_tags(const tagEntryInfo *const tag, return TRUE; }
-void tm_source_file_ctags_init() +void tm_source_file_ctags_init(void) { tm_ctags_init(); tm_parser_verify_type_mappings();
Modified: tagmanager/src/tm_source_file.h 2 lines changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -38,7 +38,7 @@ typedef struct TMSourceFile
GType tm_source_file_get_type(void);
-void tm_source_file_ctags_init(); +void tm_source_file_ctags_init(void);
TMSourceFile *tm_source_file_new(const char *file_name, const char *name);
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).