Mercurial > vim
diff src/fold.c @ 7807:1a5d34492798 v7.4.1200
commit https://github.com/vim/vim/commit/d99df423c559d85c17779b3685426c489554908c
Author: Bram Moolenaar <Bram@vim.org>
Date: Fri Jan 29 23:20:40 2016 +0100
patch 7.4.1200
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Fri, 29 Jan 2016 23:30:06 +0100 |
parents | a1e71a01dbd6 |
children | 81794242a275 |
line wrap: on
line diff
--- a/src/fold.c +++ b/src/fold.c @@ -2142,7 +2142,7 @@ typedef struct static int fold_changed; /* Function declarations. {{{2 */ -static linenr_T foldUpdateIEMSRecurse(garray_T *gap, int level, linenr_T startlnum, fline_T *flp, void (*getlevel)__ARGS((fline_T *)), linenr_T bot, int topflags); +static linenr_T foldUpdateIEMSRecurse(garray_T *gap, int level, linenr_T startlnum, fline_T *flp, void (*getlevel)(fline_T *), linenr_T bot, int topflags); static int foldInsert(garray_T *gap, int i); static void foldSplit(garray_T *gap, int i, linenr_T top, linenr_T bot); static void foldRemove(garray_T *gap, linenr_T top, linenr_T bot); @@ -2169,7 +2169,7 @@ foldUpdateIEMS(wp, top, bot) linenr_T start; linenr_T end; fline_T fline; - void (*getlevel)__ARGS((fline_T *)); + void (*getlevel)(fline_T *); int level; fold_T *fp; @@ -2422,7 +2422,7 @@ foldUpdateIEMSRecurse(gap, level, startl int level; linenr_T startlnum; fline_T *flp; - void (*getlevel)__ARGS((fline_T *)); + void (*getlevel)(fline_T *); linenr_T bot; int topflags; /* flags used by containing fold */ {