qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Chih-Min Chao <cmchao@gmail.com>
To: qemu-devel@nongnu.org
Cc: qemu-trivial@nongnu.org, kraxel@redhat.com,
	Chih-Min Chao <cmchao@gmail.com>
Subject: [Qemu-devel] [PATCH 5/5] hw/display : remove 'struct' from 'typedef QXL struct'
Date: Thu,  9 Apr 2015 02:04:14 +0800	[thread overview]
Message-ID: <1428516254-23054-6-git-send-email-cmchao@gmail.com> (raw)
In-Reply-To: <1428516254-23054-1-git-send-email-cmchao@gmail.com>

Signed-off-by: Chih-Min Chao <cmchao@gmail.com>
---
 hw/display/qxl.c   | 2 +-
 ui/spice-display.c | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/hw/display/qxl.c b/hw/display/qxl.c
index b6d65b9..0cd314c 100644
--- a/hw/display/qxl.c
+++ b/hw/display/qxl.c
@@ -696,7 +696,7 @@ static inline void qxl_push_free_res(PCIQXLDevice *d, int flush)
 
 /* called from spice server thread context only */
 static void interface_release_resource(QXLInstance *sin,
-                                       struct QXLReleaseInfoExt ext)
+                                       QXLReleaseInfoExt ext)
 {
     PCIQXLDevice *qxl = container_of(sin, PCIQXLDevice, ssd.qxl);
     QXLReleaseRing *ring;
diff --git a/ui/spice-display.c b/ui/spice-display.c
index 6767d08..32263a3 100644
--- a/ui/spice-display.c
+++ b/ui/spice-display.c
@@ -536,7 +536,7 @@ static void interface_get_init_info(QXLInstance *sin, QXLDevInitInfo *info)
     info->n_surfaces = ssd->num_surfaces;
 }
 
-static int interface_get_command(QXLInstance *sin, struct QXLCommandExt *ext)
+static int interface_get_command(QXLInstance *sin, QXLCommandExt *ext)
 {
     SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl);
     SimpleSpiceUpdate *update;
@@ -563,7 +563,7 @@ static int interface_req_cmd_notification(QXLInstance *sin)
 }
 
 static void interface_release_resource(QXLInstance *sin,
-                                       struct QXLReleaseInfoExt rext)
+                                       QXLReleaseInfoExt rext)
 {
     SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl);
     SimpleSpiceUpdate *update;
@@ -586,7 +586,7 @@ static void interface_release_resource(QXLInstance *sin,
     }
 }
 
-static int interface_get_cursor_command(QXLInstance *sin, struct QXLCommandExt *ext)
+static int interface_get_cursor_command(QXLInstance *sin, QXLCommandExt *ext)
 {
     SimpleSpiceDisplay *ssd = container_of(sin, SimpleSpiceDisplay, qxl);
     int ret;
-- 
1.9.1

  parent reply	other threads:[~2015-04-08 18:04 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-04-08 18:04 [Qemu-devel] [PATCH 0/5] fix coding style and use of typedef type Chih-Min Chao
2015-04-08 18:04 ` [Qemu-devel] [PATCH 1/5] bitops : fix coding style Chih-Min Chao
2015-04-08 18:04 ` [Qemu-devel] [PATCH 2/5] ui/vnc " Chih-Min Chao
2015-04-08 18:04 ` [Qemu-devel] [PATCH 3/5] ui/vnc : remove 'struct' of 'typedef struct' Chih-Min Chao
2015-04-08 18:04 ` [Qemu-devel] [PATCH 4/5] ui/console : remove 'struct' from 'typedef struct' type Chih-Min Chao
2015-04-08 18:04 ` Chih-Min Chao [this message]
2015-04-09  7:03 ` [Qemu-devel] [PATCH 0/5] fix coding style and use of typedef type Gerd Hoffmann
2015-04-25  6:23 ` Michael Tokarev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1428516254-23054-6-git-send-email-cmchao@gmail.com \
    --to=cmchao@gmail.com \
    --cc=kraxel@redhat.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).