Use proper C prototypes
This commit is contained in:
parent
5d9376ea80
commit
2bdc96776c
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user