qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
Cc: jan.kiszka@siemens.com, qemu-devel@nongnu.org
Subject: [Qemu-devel] [PATCH 1/2] slirp: remove unused type name
Date: Wed, 15 Feb 2012 21:33:28 +0200	[thread overview]
Message-ID: <40a8f04692936d46cb6a70999af965faaf373517.1329334333.git.mst@redhat.com> (raw)
In-Reply-To: <cover.1329334333.git.mst@redhat.com>

M_dat union has an ugly name. We never use it
so just make it unnamed.

Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
 slirp/mbuf.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/slirp/mbuf.h b/slirp/mbuf.h
index 292cbb3..57f6551 100644
--- a/slirp/mbuf.h
+++ b/slirp/mbuf.h
@@ -85,7 +85,7 @@ struct mbuf {
 	bool	arp_requested;
 	uint64_t expiration_date;
 	/* start of dynamic buffer area, must be last element */
-	union M_dat {
+	union {
 		char	m_dat_[1]; /* ANSI don't like 0 sized arrays */
 		char	*m_ext_;
 	} M_dat;
-- 
1.7.9.111.gf3fb0

  reply	other threads:[~2012-02-15 19:33 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-15 19:33 [Qemu-devel] [PATCH 0/2] slirp: misc cleanups Michael S. Tsirkin
2012-02-15 19:33 ` Michael S. Tsirkin [this message]
2012-02-15 19:33 ` [Qemu-devel] [PATCH 2/2] slirp: M_dat -> m_dat Michael S. Tsirkin

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=40a8f04692936d46cb6a70999af965faaf373517.1329334333.git.mst@redhat.com \
    --to=mst@redhat.com \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@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).