mirror of
https://github.com/vim/vim.git
synced 2025-10-06 05:44:14 -04:00
patch 7.4.1198
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
This commit is contained in:
24
src/move.c
24
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
|
||||
|
Reference in New Issue
Block a user