Mercurial > vim
diff src/fileio.c @ 7856:226ed297307f v7.4.1225
commit https://github.com/vim/vim/commit/d14e00ea67afbaa8cb4a7e6b1eb306da6a2d5adb
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jan 31 17:30:51 2016 +0100
patch 7.4.1225
Problem: Still a few old style function declarations.
Solution: Make them new style. (Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 31 Jan 2016 17:45:04 +0100 |
parents | f86adafb28d4 |
children | a7e58c6e4e9a |
line wrap: on
line diff
--- a/src/fileio.c +++ b/src/fileio.c @@ -9987,9 +9987,9 @@ theend: * "curbuf" and "curwin" to match "buf". */ void -aucmd_prepbuf(aco, buf) - aco_save_T *aco; /* structure to save values in */ - buf_T *buf; /* new curbuf */ +aucmd_prepbuf( + aco_save_T *aco, /* structure to save values in */ + buf_T *buf) /* new curbuf */ { aco->save_curbuf = curbuf; --curbuf->b_nwindows; @@ -10003,8 +10003,8 @@ aucmd_prepbuf(aco, buf) * This is the non-autocommand version. */ void -aucmd_restbuf(aco) - aco_save_T *aco; /* structure holding saved values */ +aucmd_restbuf( + aco_save_T *aco) /* structure holding saved values */ { --curbuf->b_nwindows; curbuf = aco->save_curbuf;