summaryrefslogtreecommitdiff
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-06-25 23:04:51 +0000
committerBram Moolenaar <Bram@vim.org>2005-06-25 23:04:51 +0000
commitf461c8e7f8ce2fd2ac3367680ec4c540f04ab259 (patch)
treebfacc7b1f4c7b6087026c9e8c39bb1f7b305d22f /src/quickfix.c
parentea408854a8360b6925122ce7709b424ab3005209 (diff)
downloadvim-f461c8e7f8ce2fd2ac3367680ec4c540f04ab259.zip
updated for version 7.0093
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 41ad00b20..5de1e11e1 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -732,6 +732,17 @@ qf_new_list()
qf_lists[qf_curlist].qf_count = 0;
}
+#if defined(EXITFREE) || defined(PROTO)
+ void
+qf_free_all()
+{
+ int i;
+
+ for (i = 0; i < qf_listcount; ++i)
+ qf_free(i);
+}
+#endif
+
/*
* Add an entry to the end of the list of errors.
* Returns OK or FAIL.