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/tag.c | |
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/tag.c')
-rw-r--r-- | src/tag.c | 32 |
1 files changed, 16 insertions, 16 deletions
@@ -84,17 +84,17 @@ static char *mt_names[MT_COUNT/2] = #define NOTAGFILE 99 /* return value for jumpto_tag */ static char_u *nofile_fname = NULL; /* fname for NOTAGFILE error */ -static void taglen_advance __ARGS((int l)); - -static int jumpto_tag __ARGS((char_u *lbuf, int forceit, int keep_help)); -static int parse_tag_line __ARGS((char_u *lbuf, tagptrs_T *tagp)); -static int test_for_static __ARGS((tagptrs_T *)); -static int parse_match __ARGS((char_u *lbuf, tagptrs_T *tagp)); -static char_u *tag_full_fname __ARGS((tagptrs_T *tagp)); -static char_u *expand_tag_fname __ARGS((char_u *fname, char_u *tag_fname, - int expand)); -static int test_for_current __ARGS((char_u *, char_u *, char_u *, char_u *)); -static int find_extra __ARGS((char_u **pp)); +static void taglen_advance(int l); + +static int jumpto_tag(char_u *lbuf, int forceit, int keep_help); +static int parse_tag_line(char_u *lbuf, tagptrs_T *tagp); +static int test_for_static(tagptrs_T *); +static int parse_match(char_u *lbuf, tagptrs_T *tagp); +static char_u *tag_full_fname(tagptrs_T *tagp); +static char_u *expand_tag_fname(char_u *fname, char_u *tag_fname, + int expand); +static int test_for_current(char_u *, char_u *, char_u *, char_u *); +static int find_extra(char_u **pp); static char_u *bottommsg = (char_u *)N_("E555: at bottom of tag stack"); static char_u *topmsg = (char_u *)N_("E556: at top of tag stack"); @@ -1000,7 +1000,7 @@ void do_tags(exarg_T *eap) # define tag_fgets vim_fgets #endif -static int tag_strnicmp __ARGS((char_u *s1, char_u *s2, size_t len)); +static int tag_strnicmp(char_u *s1, char_u *s2, size_t len); /* * Compare two strings, for length "len", ignoring case the ASCII way. @@ -1035,7 +1035,7 @@ typedef struct { regmatch_T regmatch; /* regexp program, may be NULL */ } pat_T; -static void prepare_pats __ARGS((pat_T *pats, int has_re)); +static void prepare_pats(pat_T *pats, int has_re); /* * Extract info from the tag search pattern "pats->pat". @@ -2040,7 +2040,7 @@ findtag_end: } static garray_T tag_fnames = GA_EMPTY; -static void found_tagfile_cb __ARGS((char_u *fname, void *cookie)); +static void found_tagfile_cb(char_u *fname, void *cookie); /* * Callback function for finding all "tags" and "tags-??" files in @@ -2992,8 +2992,8 @@ expand_tags ( return ret; } -static int add_tag_field __ARGS((dict_T *dict, char *field_name, char_u *start, - char_u *end)); +static int add_tag_field(dict_T *dict, char *field_name, char_u *start, + char_u *end); /* * Add a tag field to the dictionary "dict". |