qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Luiz Capitulino <lcapitulino@redhat.com>
To: Amos Kong <akong@redhat.com>
Cc: qemu-trivial@nongnu.org, stefanha@gmail.com, aliguori@us.ibm.com,
	qemu-devel@nongnu.org, quintela@redhat.com
Subject: Re: [Qemu-devel] [PATCH v2 1/2] remove unused include of error.h
Date: Fri, 3 Aug 2012 09:53:18 -0300	[thread overview]
Message-ID: <20120803095318.44ae5920@doriath.home> (raw)
In-Reply-To: <1343963182-28297-2-git-send-email-akong@redhat.com>

On Fri,  3 Aug 2012 11:06:21 +0800
Amos Kong <akong@redhat.com> wrote:

> Signed-off-by: Amos Kong <akong@redhat.com>
> ---
>  qemu_socket.h |    1 -
>  1 files changed, 0 insertions(+), 1 deletions(-)
> 
> diff --git a/qemu_socket.h b/qemu_socket.h
> index 4689ff3..1a2f517 100644
> --- a/qemu_socket.h
> +++ b/qemu_socket.h
> @@ -27,7 +27,6 @@ int inet_aton(const char *cp, struct in_addr *ia);
>  #endif /* !_WIN32 */
>  
>  #include "qemu-option.h"
> -#include "error.h"
>  #include "qerror.h"

This is wrong. There are functions in this header that takes an Error argument
(which is declared in error.h).

qerror.h should be dropped though, as it's deprecated and as such shouldn't
be in a public header like this. If you get build failures, then you can
include it in the .c files where it's missing.

>  
>  /* misc helpers */

  reply	other threads:[~2012-08-03 12:52 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-03  3:06 [Qemu-devel] [PATCH v2 0/2] trivial fix of qemu-sockets.c Amos Kong
2012-08-03  3:06 ` [Qemu-devel] [PATCH v2 1/2] remove unused include of error.h Amos Kong
2012-08-03 12:53   ` Luiz Capitulino [this message]
2012-08-03 13:26   ` Stefan Hajnoczi
2012-08-03  3:06 ` [Qemu-devel] [PATCH v2 2/2] socket: clean up redundant assignment Amos Kong
2012-08-03 12:55   ` Luiz Capitulino
2012-08-03  9:50 ` [Qemu-devel] [PATCH v2 0/2] trivial fix of qemu-sockets.c Stefan Hajnoczi

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=20120803095318.44ae5920@doriath.home \
    --to=lcapitulino@redhat.com \
    --cc=akong@redhat.com \
    --cc=aliguori@us.ibm.com \
    --cc=qemu-devel@nongnu.org \
    --cc=qemu-trivial@nongnu.org \
    --cc=quintela@redhat.com \
    --cc=stefanha@gmail.com \
    /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).