0
0
mirror of https://github.com/vim/vim.git synced 2025-11-16 23:24:03 -05:00

patch 9.0.1336: functions without arguments are not always declared properly

Problem:    Functions without arguments are not always declared properly.
Solution:   Use "(void)" instead of "()". (Yegappan Lakshmanan, closes #12031)
This commit is contained in:
Yegappan Lakshmanan
2023-02-21 14:27:41 +00:00
committed by Bram Moolenaar
parent d950984489
commit a23a11b5bf
34 changed files with 75 additions and 72 deletions

View File

@@ -2994,7 +2994,7 @@ ins_compl_mode(void)
* one assigned yet.
*/
static void
ins_compl_update_sequence_numbers()
ins_compl_update_sequence_numbers(void)
{
int number = 0;
compl_T *match;
@@ -3457,7 +3457,7 @@ get_next_filename_completion(void)
* Get the next set of command-line completions matching "compl_pattern".
*/
static void
get_next_cmdline_completion()
get_next_cmdline_completion(void)
{
char_u **matches;
int num_matches;