style: rename cleanup_caret as caret_free

* src/location.c, src/location.h, src/main.c: here.
This commit is contained in:
Akim Demaille
2019-02-14 18:53:01 +01:00
parent 8654fca058
commit dbdf2878ab
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ struct caret_info
static struct caret_info caret_info = { NULL, 1, 0 };
void
cleanup_caret ()
caret_free ()
{
if (caret_info.source)
fclose (caret_info.source);