aboutsummaryrefslogtreecommitdiff
path: root/src/tag.c
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-03-31 17:19:54 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-31 14:42:11 -0300
commit5d30654512f1e40479e32f2c02a59fa84bb9118f (patch)
tree0fa1ebaeff8a77e39957ae9b285e1dd4e671e23b /src/tag.c
parente02790cad4b1ede5b32a1d77cabe40dd088ba4c0 (diff)
downloadrneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.gz
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.bz2
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.zip
Rename ga_init2() to ga_init()
Diffstat (limited to 'src/tag.c')
-rw-r--r--src/tag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tag.c b/src/tag.c
index 9a7d926bd4..2083226e82 100644
--- a/src/tag.c
+++ b/src/tag.c
@@ -1200,7 +1200,7 @@ find_tags (
lbuf = alloc(lbuf_size);
tag_fname = alloc(MAXPATHL + 1);
for (mtt = 0; mtt < MT_COUNT; ++mtt)
- ga_init2(&ga_match[mtt], (int)sizeof(struct match_found *), 100);
+ ga_init(&ga_match[mtt], (int)sizeof(struct match_found *), 100);
/* check for out of memory situation */
if (lbuf == NULL || tag_fname == NULL
@@ -2100,7 +2100,7 @@ get_tagfname (
*/
if (first) {
ga_clear_strings(&tag_fnames);
- ga_init2(&tag_fnames, (int)sizeof(char_u *), 10);
+ ga_init(&tag_fnames, (int)sizeof(char_u *), 10);
do_in_runtimepath((char_u *)
"doc/tags doc/tags-??"
, TRUE, found_tagfile_cb, NULL);