diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2016-10-22 12:53:02 +0300 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2016-10-24 15:46:10 +0200 |
commit | 72ac876248ca2d33b3e1170b2f86fb68daaacdc8 (patch) | |
tree | feb7960f638c51d9d31280f145cd91580a684ad8 /backends/baum.c | |
parent | a4afa548fc6dd9842ed86639b4d37d4d1c4ad480 (diff) | |
download | qemu-72ac876248ca2d33b3e1170b2f86fb68daaacdc8.zip qemu-72ac876248ca2d33b3e1170b2f86fb68daaacdc8.tar.gz qemu-72ac876248ca2d33b3e1170b2f86fb68daaacdc8.tar.bz2 |
char: rename chr_close/chr_free
The function is used to free the backend opaque pointer, let's name it
accordingly.
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Message-Id: <20161022095318.17775-23-marcandre.lureau@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'backends/baum.c')
-rw-r--r-- | backends/baum.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/backends/baum.c b/backends/baum.c index c537141..a516434 100644 --- a/backends/baum.c +++ b/backends/baum.c @@ -551,7 +551,7 @@ static void baum_chr_read(void *opaque) } } -static void baum_close(struct CharDriverState *chr) +static void baum_free(struct CharDriverState *chr) { BaumDriverState *baum = chr->opaque; @@ -589,7 +589,7 @@ static CharDriverState *chr_baum_init(const char *id, chr->opaque = baum; chr->chr_write = baum_write; chr->chr_accept_input = baum_accept_input; - chr->chr_close = baum_close; + chr->chr_free = baum_free; handle = g_malloc0(brlapi_getHandleSize()); baum->brlapi = handle; |