mirror of
https://github.com/vim/vim.git
synced 2025-10-28 09:27:14 -04: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
@@ -3309,7 +3309,7 @@ f_popup_getoptions(typval_T *argvars, typval_T *rettv)
|
||||
* Return FALSE when the job has ended.
|
||||
*/
|
||||
int
|
||||
error_if_term_popup_window()
|
||||
error_if_term_popup_window(void)
|
||||
{
|
||||
if (WIN_IS_POPUP(curwin) && curbuf->b_term != NULL
|
||||
&& term_job_running(curbuf->b_term))
|
||||
@@ -3543,7 +3543,7 @@ popup_no_mapping(void)
|
||||
* cursor moved far enough.
|
||||
*/
|
||||
void
|
||||
popup_check_cursor_pos()
|
||||
popup_check_cursor_pos(void)
|
||||
{
|
||||
win_T *wp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user