mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
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:

committed by
Thiago de Arruda

parent
2bd6d44403
commit
d9283c4927
14
src/mark.c
14
src/mark.c
@@ -46,12 +46,12 @@
|
||||
#define EXTRA_MARKS 10 /* marks 0-9 */
|
||||
static xfmark_T namedfm[NMARKS + EXTRA_MARKS]; /* marks with file nr */
|
||||
|
||||
static void fname2fnum __ARGS((xfmark_T *fm));
|
||||
static void fmarks_check_one __ARGS((xfmark_T *fm, char_u *name, buf_T *buf));
|
||||
static char_u *mark_line __ARGS((pos_T *mp, int lead_len));
|
||||
static void show_one_mark __ARGS((int, char_u *, pos_T *, char_u *, int current));
|
||||
static void cleanup_jumplist __ARGS((void));
|
||||
static void write_one_filemark __ARGS((FILE *fp, xfmark_T *fm, int c1, int c2));
|
||||
static void fname2fnum(xfmark_T *fm);
|
||||
static void fmarks_check_one(xfmark_T *fm, char_u *name, buf_T *buf);
|
||||
static char_u *mark_line(pos_T *mp, int lead_len);
|
||||
static void show_one_mark(int, char_u *, pos_T *, char_u *, int current);
|
||||
static void cleanup_jumplist(void);
|
||||
static void write_one_filemark(FILE *fp, xfmark_T *fm, int c1, int c2);
|
||||
|
||||
/*
|
||||
* Set named mark "c" at current cursor position.
|
||||
@@ -1321,7 +1321,7 @@ int removable(char_u *name)
|
||||
return retval;
|
||||
}
|
||||
|
||||
static void write_one_mark __ARGS((FILE *fp_out, int c, pos_T *pos));
|
||||
static void write_one_mark(FILE *fp_out, int c, pos_T *pos);
|
||||
|
||||
/*
|
||||
* Write all the named marks for all buffers.
|
||||
|
Reference in New Issue
Block a user