diff options
author | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:36:45 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2016-01-29 22:36:45 +0100 |
commit | 92b8b2d307e34117f146319872010b0ccc9d2713 (patch) | |
tree | 14592978271f07a5bebd2e7001c2c1f2e7c3a60b /src/move.c | |
parent | d25c16e2f2776d50245bf31d6e4d5364f12d188e (diff) | |
download | vim-git-92b8b2d307e34117f146319872010b0ccc9d2713.tar.gz |
patch 7.4.1198v7.4.1198
Problem: Still using __ARGS.
Solution: Remove __ARGS in several files. (script by Hirohito Higashi)
Also remove use of HAVE_STDARG_H.
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/move.c b/src/move.c index bc6a1207c..c5d278d14 100644 --- a/src/move.c +++ b/src/move.c @@ -19,12 +19,12 @@ #include "vim.h" -static void comp_botline __ARGS((win_T *wp)); -static void redraw_for_cursorline __ARGS((win_T *wp)); -static int scrolljump_value __ARGS((void)); -static int check_top_offset __ARGS((void)); -static void curs_rows __ARGS((win_T *wp)); -static void validate_cheight __ARGS((void)); +static void comp_botline(win_T *wp); +static void redraw_for_cursorline(win_T *wp); +static int scrolljump_value(void); +static int check_top_offset(void); +static void curs_rows(win_T *wp); +static void validate_cheight(void); typedef struct { @@ -35,12 +35,12 @@ typedef struct int height; /* height of added line */ } lineoff_T; -static void topline_back __ARGS((lineoff_T *lp)); -static void botline_forw __ARGS((lineoff_T *lp)); +static void topline_back(lineoff_T *lp); +static void botline_forw(lineoff_T *lp); #ifdef FEAT_DIFF -static void botline_topline __ARGS((lineoff_T *lp)); -static void topline_botline __ARGS((lineoff_T *lp)); -static void max_topfill __ARGS((void)); +static void botline_topline(lineoff_T *lp); +static void topline_botline(lineoff_T *lp); +static void max_topfill(void); #endif /* @@ -2290,7 +2290,7 @@ cursor_correct() curwin->w_valid |= VALID_TOPLINE; } -static void get_scroll_overlap __ARGS((lineoff_T *lp, int dir)); +static void get_scroll_overlap(lineoff_T *lp, int dir); /* * move screen 'count' pages up or down and update screen |