]> granicus.if.org Git - vim/commit
patch 9.0.1336: functions without arguments are not always declared properly v9.0.1336
authorYegappan Lakshmanan <yegappan@yahoo.com>
Tue, 21 Feb 2023 14:27:41 +0000 (14:27 +0000)
committerBram Moolenaar <Bram@vim.org>
Tue, 21 Feb 2023 14:27:41 +0000 (14:27 +0000)
commita23a11b5bf03454b71fdb5deac0d5f641e222160
tree5ce9eb5b9668eb891072ee7e03823b1c68214656
parentd950984489e50b12d87c85f0cce1d672c880aa23
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)
34 files changed:
src/channel.c
src/charset.c
src/clipboard.c
src/crypt.c
src/debugger.c
src/edit.c
src/ex_docmd.c
src/gui_gtk_x11.c
src/gui_xim.c
src/highlight.c
src/if_lua.c
src/indent.c
src/insexpand.c
src/job.c
src/misc1.c
src/mouse.c
src/normal.c
src/optionstr.c
src/popupmenu.c
src/popupwin.c
src/proto/filepath.pro
src/proto/gui_motif.pro
src/quickfix.c
src/register.c
src/screen.c
src/sound.c
src/term.c
src/terminal.c
src/time.c
src/userfunc.c
src/version.c
src/vim.h
src/vim9compile.c
src/window.c