aboutsummaryrefslogtreecommitdiff
path: root/ui/cursor.c
diff options
context:
space:
mode:
authorMarc-André Lureau <marcandre.lureau@redhat.com>2023-01-17 15:07:02 +0400
committerMarc-André Lureau <marcandre.lureau@redhat.com>2023-03-13 22:57:39 +0400
commitf4579e2899df552ea0c1e2f68447fd64b0c38836 (patch)
tree7114de8f0ec08c2b498cc2224e1cff94da7e72eb /ui/cursor.c
parent1222070e772833c6875e0ca63565db12c22df39e (diff)
downloadqemu-f4579e2899df552ea0c1e2f68447fd64b0c38836.zip
qemu-f4579e2899df552ea0c1e2f68447fd64b0c38836.tar.gz
qemu-f4579e2899df552ea0c1e2f68447fd64b0c38836.tar.bz2
ui: rename cursor_{put->unref}
The naming is more conventional in QEMU. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'ui/cursor.c')
-rw-r--r--ui/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/cursor.c b/ui/cursor.c
index 835f080..31b09bf 100644
--- a/ui/cursor.c
+++ b/ui/cursor.c
@@ -111,7 +111,7 @@ void cursor_get(QEMUCursor *c)
c->refcount++;
}
-void cursor_put(QEMUCursor *c)
+void cursor_unref(QEMUCursor *c)
{
if (c == NULL)
return;