Remove __ARGS macro. Close #205

This is a squash of all commits sent to #81.

- Remove unused undef of __ARGS.
- Fix mch_rename declaration.
- Follow changes related to moved & extracted files.
- Properly indent function declarations of getchar.h and quickfix.c.
This commit is contained in:
Nicolas Pierron
2014-03-02 14:11:35 -03:00
committed by Thiago de Arruda
parent 2bd6d44403
commit d9283c4927
105 changed files with 4666 additions and 4712 deletions

View File

@@ -61,26 +61,24 @@
#include "undo.h"
#include "window.h"
static char_u *buflist_match __ARGS((regprog_T *prog, buf_T *buf));
static char_u *buflist_match(regprog_T *prog, buf_T *buf);
# define HAVE_BUFLIST_MATCH
static char_u *fname_match __ARGS((regprog_T *prog, char_u *name));
static void buflist_setfpos __ARGS((buf_T *buf, win_T *win, linenr_T lnum,
colnr_T col,
int copy_options));
static wininfo_T *find_wininfo __ARGS((buf_T *buf, int skip_diff_buffer));
static char_u *fname_match(regprog_T *prog, char_u *name);
static void buflist_setfpos(buf_T *buf, win_T *win, linenr_T lnum,
colnr_T col, int copy_options);
static wininfo_T *find_wininfo(buf_T *buf, int skip_diff_buffer);
#ifdef UNIX
static buf_T *buflist_findname_stat __ARGS((char_u *ffname, struct stat *st));
static int otherfile_buf __ARGS((buf_T *buf, char_u *ffname, struct stat *stp));
static int buf_same_ino __ARGS((buf_T *buf, struct stat *stp));
static buf_T *buflist_findname_stat(char_u *ffname, struct stat *st);
static int otherfile_buf(buf_T *buf, char_u *ffname, struct stat *stp);
static int buf_same_ino(buf_T *buf, struct stat *stp);
#else
static int otherfile_buf __ARGS((buf_T *buf, char_u *ffname));
static int otherfile_buf(buf_T *buf, char_u *ffname);
#endif
static int ti_change __ARGS((char_u *str, char_u **last));
static int append_arg_number __ARGS((win_T *wp, char_u *buf, int buflen,
int add_file));
static void free_buffer __ARGS((buf_T *));
static void free_buffer_stuff __ARGS((buf_T *buf, int free_options));
static void clear_wininfo __ARGS((buf_T *buf));
static int ti_change(char_u *str, char_u **last);
static int append_arg_number(win_T *wp, char_u *buf, int buflen, int add_file);
static void free_buffer(buf_T *);
static void free_buffer_stuff(buf_T *buf, int free_options);
static void clear_wininfo(buf_T *buf);
#ifdef UNIX
# define dev_T dev_t
@@ -787,7 +785,7 @@ do_bufdel (
#if defined(FEAT_LISTCMDS) || defined(FEAT_PYTHON) \
|| defined(FEAT_PYTHON3) || defined(PROTO)
static int empty_curbuf __ARGS((int close_others, int forceit, int action));
static int empty_curbuf(int close_others, int forceit, int action);
/*
* Make the current buffer empty.
@@ -2035,7 +2033,7 @@ static void buflist_setfpos(buf_T *buf, win_T *win, linenr_T lnum, colnr_T col,
return;
}
static int wininfo_other_tab_diff __ARGS((wininfo_T *wip));
static int wininfo_other_tab_diff(wininfo_T *wip);
/*
* Return TRUE when "wip" has 'diff' set and the diff is only for another tab
@@ -4107,7 +4105,7 @@ void ex_buffer_all(exarg_T *eap)
}
static int chk_modeline __ARGS((linenr_T, int));
static int chk_modeline(linenr_T, int);
/*
* do_modelines() - process mode lines for the current file