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:
committed by
Bram Moolenaar
parent
d950984489
commit
a23a11b5bf
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user