Mercurial > vim
diff src/quickfix.c @ 359:6c62b9b939bd v7.0093
updated for version 7.0093
author | vimboss |
---|---|
date | Sat, 25 Jun 2005 23:04:51 +0000 |
parents | 9a1c2a8186b7 |
children | c60ba877860b |
line wrap: on
line diff
--- 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.