Mercurial > vim
diff src/evalfunc.c @ 14391:46f14852a919 v8.1.0210
patch 8.1.0210: still a few K&R function declarations
commit https://github.com/vim/vim/commit/6f8d2ac6f1f8a4b971a4c9b27f9250288198f3bb
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jul 25 19:49:45 2018 +0200
patch 8.1.0210: still a few K&R function declarations
Problem: Still a few K&R function declarations.
Solution: Use ANSI function declarations (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 25 Jul 2018 20:00:06 +0200 |
parents | e5d7dd985b53 |
children | c62601adad69 |
line wrap: on
line diff
--- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -2857,9 +2857,7 @@ f_delete(typval_T *argvars, typval_T *re * "deletebufline()" function */ static void -f_deletebufline(argvars, rettv) - typval_T *argvars; - typval_T *rettv; +f_deletebufline(typval_T *argvars, typval_T *rettv) { buf_T *buf; linenr_T first, last; @@ -10502,9 +10500,7 @@ f_serverlist(typval_T *argvars UNUSED, t * "setbufline()" function */ static void -f_setbufline(argvars, rettv) - typval_T *argvars; - typval_T *rettv; +f_setbufline(typval_T *argvars, typval_T *rettv) { linenr_T lnum; buf_T *buf;