diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-06-25 23:04:51 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-06-25 23:04:51 +0000 |
commit | f461c8e7f8ce2fd2ac3367680ec4c540f04ab259 (patch) | |
tree | bfacc7b1f4c7b6087026c9e8c39bb1f7b305d22f /src/quickfix.c | |
parent | ea408854a8360b6925122ce7709b424ab3005209 (diff) | |
download | vim-f461c8e7f8ce2fd2ac3367680ec4c540f04ab259.zip |
updated for version 7.0093
Diffstat (limited to 'src/quickfix.c')
-rw-r--r-- | src/quickfix.c | 11 |
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. |