From 70f24fb6c647c65760c8e1caa29f72531d5be8cd Mon Sep 17 00:00:00 2001 From: Anthony Liguori Date: Mon, 15 Aug 2011 11:17:38 -0500 Subject: char: rename qemu_chr_close() -> qemu_chr_delete() Signed-off-by: Anthony Liguori --- qemu-char.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'qemu-char.c') diff --git a/qemu-char.c b/qemu-char.c index 13952355e1..c0af8f3ade 100644 --- a/qemu-char.c +++ b/qemu-char.c @@ -2370,7 +2370,7 @@ QString *qemu_chr_mem_to_qs(CharDriverState *chr) return qstring_from_substr((char *) d->outbuf, 0, d->outbuf_size - 1); } -/* NOTE: this driver can not be closed with qemu_chr_close()! */ +/* NOTE: this driver can not be closed with qemu_chr_delete()! */ void qemu_chr_close_mem(CharDriverState *chr) { MemoryDriver *d = chr->opaque; @@ -2646,7 +2646,7 @@ void qemu_chr_fe_close(struct CharDriverState *chr) } } -void qemu_chr_close(CharDriverState *chr) +void qemu_chr_delete(CharDriverState *chr) { QTAILQ_REMOVE(&chardevs, chr, next); if (chr->chr_close) -- cgit v1.2.3