diff options
author | Nicolas Pierron <nicolas.b.pierron@gmail.com> | 2014-03-02 14:11:35 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-02 14:19:59 -0300 |
commit | d9283c4927cc5f926fa796acc2568610bd9a80d6 (patch) | |
tree | ee22db97987af38c538d1bd6501a384203579949 /src/ex_cmds_defs.h | |
parent | 2bd6d444033b5746595713f4d037de135379a23e (diff) | |
download | rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.gz rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.tar.bz2 rneovim-d9283c4927cc5f926fa796acc2568610bd9a80d6.zip |
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.
Diffstat (limited to 'src/ex_cmds_defs.h')
-rw-r--r-- | src/ex_cmds_defs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds_defs.h b/src/ex_cmds_defs.h index a560789fef..7c1ac1bc1b 100644 --- a/src/ex_cmds_defs.h +++ b/src/ex_cmds_defs.h @@ -76,7 +76,7 @@ typedef struct exarg exarg_T; #ifdef DO_DECLARE_EXCMD # define EX(a, b, c, d) {(char_u *)b, c, (long_u)(d)} -typedef void (*ex_func_T) __ARGS ((exarg_T *eap)); +typedef void (*ex_func_T)(exarg_T *eap); static struct cmdname { char_u *cmd_name; /* name of the command */ @@ -1175,7 +1175,7 @@ struct exarg { int bad_char; /* BAD_KEEP, BAD_DROP or replacement byte */ int useridx; /* user command index */ char_u *errmsg; /* returned error message */ - char_u *(*getline)__ARGS((int, void *, int)); + char_u *(*getline)(int, void *, int); void *cookie; /* argument for getline() */ struct condstack *cstack; /* condition stack for ":if" etc. */ }; |