mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
ex_cmds*: Silence -Wstrict-prototypes warnings
Due to a number of places where headers generated from these files are included gcc with -DEXITFREE produces *loads* of warnings for these functions.
This commit is contained in:
parent
7fbefd585e
commit
fea633d0fa
@ -6135,7 +6135,7 @@ char_u * sign_typenr2name(int typenr)
|
||||
/*
|
||||
* Undefine/free all signs.
|
||||
*/
|
||||
void free_signs()
|
||||
void free_signs(void)
|
||||
{
|
||||
while (first_sign != NULL)
|
||||
sign_undefine(first_sign, NULL);
|
||||
|
@ -2624,7 +2624,7 @@ char_u *get_scriptname(scid_T id)
|
||||
}
|
||||
|
||||
# if defined(EXITFREE)
|
||||
void free_scriptnames()
|
||||
void free_scriptnames(void)
|
||||
{
|
||||
# define FREE_SCRIPTNAME(item) xfree((item)->sn_name)
|
||||
GA_DEEP_CLEAR(&script_items, scriptitem_T, FREE_SCRIPTNAME);
|
||||
|
Loading…
Reference in New Issue
Block a user