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

@@ -52,20 +52,19 @@
#include "undo.h"
#include "window.h"
static int linelen __ARGS((int *has_tab));
static void do_filter __ARGS((linenr_T line1, linenr_T line2, exarg_T *eap,
char_u *cmd, int do_in,
int do_out));
static char_u *viminfo_filename __ARGS((char_u *));
static void do_viminfo __ARGS((FILE *fp_in, FILE *fp_out, int flags));
static int viminfo_encoding __ARGS((vir_T *virp));
static int read_viminfo_up_to_marks __ARGS((vir_T *virp, int forceit,
int writing));
static int linelen(int *has_tab);
static void do_filter(linenr_T line1, linenr_T line2, exarg_T *eap,
char_u *cmd, int do_in,
int do_out);
static char_u *viminfo_filename(char_u *);
static void do_viminfo(FILE *fp_in, FILE *fp_out, int flags);
static int viminfo_encoding(vir_T *virp);
static int read_viminfo_up_to_marks(vir_T *virp, int forceit,
int writing);
static int check_readonly __ARGS((int *forceit, buf_T *buf));
static void delbuf_msg __ARGS((char_u *name));
static int
help_compare __ARGS((const void *s1, const void *s2));
static int check_readonly(int *forceit, buf_T *buf);
static void delbuf_msg(char_u *name);
static int help_compare(const void *s1, const void *s2);
/*
* ":ascii" and "ga".
@@ -285,7 +284,7 @@ typedef struct {
} sorti_T;
static int
sort_compare __ARGS((const void *s1, const void *s2));
sort_compare(const void *s1, const void *s2);
static int sort_compare(const void *s1, const void *s2)
{
@@ -1395,7 +1394,7 @@ void append_redir(char_u *buf, int buflen, char_u *opt, char_u *fname)
}
static int no_viminfo __ARGS((void));
static int no_viminfo(void);
static int viminfo_errcnt;
static int no_viminfo(void) {
@@ -5327,8 +5326,8 @@ void ex_viusage(exarg_T *eap)
do_cmdline_cmd((char_u *)"help normal-index");
}
static void helptags_one __ARGS((char_u *dir, char_u *ext, char_u *lang,
int add_help_tags));
static void helptags_one(char_u *dir, char_u *ext, char_u *lang,
int add_help_tags);
/*
* ":helptags"