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_cmds2.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_cmds2.h')
-rw-r--r-- | src/ex_cmds2.h | 183 |
1 files changed, 92 insertions, 91 deletions
diff --git a/src/ex_cmds2.h b/src/ex_cmds2.h index a01096cfd7..b6e61583bd 100644 --- a/src/ex_cmds2.h +++ b/src/ex_cmds2.h @@ -1,96 +1,97 @@ #ifndef NEOVIM_EX_CMDS2_H #define NEOVIM_EX_CMDS2_H /* ex_cmds2.c */ -void do_debug __ARGS((char_u *cmd)); -void ex_debug __ARGS((exarg_T *eap)); -void dbg_check_breakpoint __ARGS((exarg_T *eap)); -int dbg_check_skipped __ARGS((exarg_T *eap)); -void ex_breakadd __ARGS((exarg_T *eap)); -void ex_debuggreedy __ARGS((exarg_T *eap)); -void ex_breakdel __ARGS((exarg_T *eap)); -void ex_breaklist __ARGS((exarg_T *eap)); -linenr_T dbg_find_breakpoint __ARGS((int file, char_u *fname, linenr_T after)); -int has_profiling __ARGS((int file, char_u *fname, int *fp)); -void dbg_breakpoint __ARGS((char_u *name, linenr_T lnum)); -void profile_start __ARGS((proftime_T *tm)); -void profile_end __ARGS((proftime_T *tm)); -void profile_sub __ARGS((proftime_T *tm, proftime_T *tm2)); -char *profile_msg __ARGS((proftime_T *tm)); -void profile_setlimit __ARGS((long msec, proftime_T *tm)); -int profile_passed_limit __ARGS((proftime_T *tm)); -void profile_zero __ARGS((proftime_T *tm)); -void profile_divide __ARGS((proftime_T *tm, int count, proftime_T *tm2)); -void profile_add __ARGS((proftime_T *tm, proftime_T *tm2)); -void profile_self __ARGS((proftime_T *self, proftime_T *total, - proftime_T *children)); -void profile_get_wait __ARGS((proftime_T *tm)); -void profile_sub_wait __ARGS((proftime_T *tm, proftime_T *tma)); -int profile_equal __ARGS((proftime_T *tm1, proftime_T *tm2)); -int profile_cmp __ARGS((const proftime_T *tm1, const proftime_T *tm2)); -void ex_profile __ARGS((exarg_T *eap)); -char_u *get_profile_name __ARGS((expand_T *xp, int idx)); -void set_context_in_profile_cmd __ARGS((expand_T *xp, char_u *arg)); -void profile_dump __ARGS((void)); -void script_prof_save __ARGS((proftime_T *tm)); -void script_prof_restore __ARGS((proftime_T *tm)); -void prof_inchar_enter __ARGS((void)); -void prof_inchar_exit __ARGS((void)); -int prof_def_func __ARGS((void)); -int autowrite __ARGS((buf_T *buf, int forceit)); -void autowrite_all __ARGS((void)); -int check_changed __ARGS((buf_T *buf, int flags)); -void browse_save_fname __ARGS((buf_T *buf)); -void dialog_changed __ARGS((buf_T *buf, int checkall)); -int can_abandon __ARGS((buf_T *buf, int forceit)); -int check_changed_any __ARGS((int hidden)); -int check_fname __ARGS((void)); -int buf_write_all __ARGS((buf_T *buf, int forceit)); -int get_arglist __ARGS((garray_T *gap, char_u *str)); -int get_arglist_exp __ARGS((char_u *str, int *fcountp, char_u ***fnamesp, - int wig)); -void set_arglist __ARGS((char_u *str)); -void check_arg_idx __ARGS((win_T *win)); -void ex_args __ARGS((exarg_T *eap)); -void ex_previous __ARGS((exarg_T *eap)); -void ex_rewind __ARGS((exarg_T *eap)); -void ex_last __ARGS((exarg_T *eap)); -void ex_argument __ARGS((exarg_T *eap)); -void do_argfile __ARGS((exarg_T *eap, int argn)); -void ex_next __ARGS((exarg_T *eap)); -void ex_argedit __ARGS((exarg_T *eap)); -void ex_argadd __ARGS((exarg_T *eap)); -void ex_argdelete __ARGS((exarg_T *eap)); -void ex_listdo __ARGS((exarg_T *eap)); -void ex_compiler __ARGS((exarg_T *eap)); -void ex_runtime __ARGS((exarg_T *eap)); -int source_runtime __ARGS((char_u *name, int all)); -int do_in_runtimepath __ARGS((char_u *name, int all, void (*callback)( - char_u *fname, void *ck), void *cookie)); -void ex_options __ARGS((exarg_T *eap)); -void ex_source __ARGS((exarg_T *eap)); -linenr_T *source_breakpoint __ARGS((void *cookie)); -int *source_dbg_tick __ARGS((void *cookie)); -int source_level __ARGS((void *cookie)); -int do_source __ARGS((char_u *fname, int check_other, int is_vimrc)); -void ex_scriptnames __ARGS((exarg_T *eap)); -void scriptnames_slash_adjust __ARGS((void)); -char_u *get_scriptname __ARGS((scid_T id)); -void free_scriptnames __ARGS((void)); -char *fgets_cr __ARGS((char *s, int n, FILE *stream)); -char_u *getsourceline __ARGS((int c, void *cookie, int indent)); -void script_line_start __ARGS((void)); -void script_line_exec __ARGS((void)); -void script_line_end __ARGS((void)); -void ex_scriptencoding __ARGS((exarg_T *eap)); -void ex_finish __ARGS((exarg_T *eap)); -void do_finish __ARGS((exarg_T *eap, int reanimate)); -int source_finished __ARGS((char_u *(*fgetline)(int, void *, int), void *cookie)); -void ex_checktime __ARGS((exarg_T *eap)); -char_u *get_mess_lang __ARGS((void)); -void set_lang_var __ARGS((void)); -void ex_language __ARGS((exarg_T *eap)); -void free_locales __ARGS((void)); -char_u *get_lang_arg __ARGS((expand_T *xp, int idx)); -char_u *get_locales __ARGS((expand_T *xp, int idx)); +void do_debug(char_u *cmd); +void ex_debug(exarg_T *eap); +void dbg_check_breakpoint(exarg_T *eap); +int dbg_check_skipped(exarg_T *eap); +void ex_breakadd(exarg_T *eap); +void ex_debuggreedy(exarg_T *eap); +void ex_breakdel(exarg_T *eap); +void ex_breaklist(exarg_T *eap); +linenr_T dbg_find_breakpoint(int file, char_u *fname, linenr_T after); +int has_profiling(int file, char_u *fname, int *fp); +void dbg_breakpoint(char_u *name, linenr_T lnum); +void profile_start(proftime_T *tm); +void profile_end(proftime_T *tm); +void profile_sub(proftime_T *tm, proftime_T *tm2); +char *profile_msg(proftime_T *tm); +void profile_setlimit(long msec, proftime_T *tm); +int profile_passed_limit(proftime_T *tm); +void profile_zero(proftime_T *tm); +void profile_divide(proftime_T *tm, int count, proftime_T *tm2); +void profile_add(proftime_T *tm, proftime_T *tm2); +void profile_self(proftime_T *self, proftime_T *total, + proftime_T *children); +void profile_get_wait(proftime_T *tm); +void profile_sub_wait(proftime_T *tm, proftime_T *tma); +int profile_equal(proftime_T *tm1, proftime_T *tm2); +int profile_cmp(const proftime_T *tm1, const proftime_T *tm2); +void ex_profile(exarg_T *eap); +char_u *get_profile_name(expand_T *xp, int idx); +void set_context_in_profile_cmd(expand_T *xp, char_u *arg); +void profile_dump(void); +void script_prof_save(proftime_T *tm); +void script_prof_restore(proftime_T *tm); +void prof_inchar_enter(void); +void prof_inchar_exit(void); +int prof_def_func(void); +int autowrite(buf_T *buf, int forceit); +void autowrite_all(void); +int check_changed(buf_T *buf, int flags); +void browse_save_fname(buf_T *buf); +void dialog_changed(buf_T *buf, int checkall); +int can_abandon(buf_T *buf, int forceit); +int check_changed_any(int hidden); +int check_fname(void); +int buf_write_all(buf_T *buf, int forceit); +int get_arglist(garray_T *gap, char_u *str); +int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, + int wig); +void set_arglist(char_u *str); +void check_arg_idx(win_T *win); +void ex_args(exarg_T *eap); +void ex_previous(exarg_T *eap); +void ex_rewind(exarg_T *eap); +void ex_last(exarg_T *eap); +void ex_argument(exarg_T *eap); +void do_argfile(exarg_T *eap, int argn); +void ex_next(exarg_T *eap); +void ex_argedit(exarg_T *eap); +void ex_argadd(exarg_T *eap); +void ex_argdelete(exarg_T *eap); +void ex_listdo(exarg_T *eap); +void ex_compiler(exarg_T *eap); +void ex_runtime(exarg_T *eap); +int source_runtime(char_u *name, int all); +int do_in_runtimepath(char_u *name, int all, + void (*callback)(char_u *fname, void *ck), + void *cookie); +void ex_options(exarg_T *eap); +void ex_source(exarg_T *eap); +linenr_T *source_breakpoint(void *cookie); +int *source_dbg_tick(void *cookie); +int source_level(void *cookie); +int do_source(char_u *fname, int check_other, int is_vimrc); +void ex_scriptnames(exarg_T *eap); +void scriptnames_slash_adjust(void); +char_u *get_scriptname(scid_T id); +void free_scriptnames(void); +char *fgets_cr(char *s, int n, FILE *stream); +char_u *getsourceline(int c, void *cookie, int indent); +void script_line_start(void); +void script_line_exec(void); +void script_line_end(void); +void ex_scriptencoding(exarg_T *eap); +void ex_finish(exarg_T *eap); +void do_finish(exarg_T *eap, int reanimate); +int source_finished(char_u *(*fgetline)(int, void *, int), void *cookie); +void ex_checktime(exarg_T *eap); +char_u *get_mess_lang(void); +void set_lang_var(void); +void ex_language(exarg_T *eap); +void free_locales(void); +char_u *get_lang_arg(expand_T *xp, int idx); +char_u *get_locales(expand_T *xp, int idx); /* vim: set ft=c : */ #endif /* NEOVIM_EX_CMDS2_H */ |