From: Eric Blake <eblake@redhat.com>
To: Paolo Bonzini <pbonzini@redhat.com>, qemu-devel@nongnu.org
Cc: "Michael S. Tsirkin" <mst@redhat.com>
Subject: Re: [Qemu-devel] [PATCH] rename included C files to foo.inc.c, remove osdep.h
Date: Fri, 4 May 2018 08:15:23 -0500 [thread overview]
Message-ID: <bcd15427-246c-1d54-2c6a-bf5bf7dd0094@redhat.com> (raw)
In-Reply-To: <1525431107-44981-1-git-send-email-pbonzini@redhat.com>
On 05/04/2018 05:51 AM, Paolo Bonzini wrote:
> osdep.h is only needed for files that are compiled directly.
> Remove it from included C source files, and rename them to
> *.inc.c so that scripts/clean-includes knows to skip them.
>
> Cc: Eric Blake <eblake@redhat.com>
> Cc: Michael S. Tsirkin <mst@redhat.com>
> Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
> ---
> target/cris/translate.c | 2 +-
> .../cris/{translate_v10.c => translate_v10.inc.c} | 0
> target/mips/translate.c | 2 +-
> .../{translate_init.c => translate_init.inc.c} | 0
> target/ppc/int_helper.c | 2 +-
> target/ppc/{mfrom_table.c => mfrom_table.inc.c} | 0
> target/ppc/translate.c | 2 +-
> .../ppc/{translate_init.c => translate_init.inc.c} | 1 -
> ui/vnc-enc-zrle.c | 22 ++++++++++----------
> ui/{vnc-enc-zrle-template.c => vnc-enc-zrle.inc.c} | 0
> 10 files changed, 15 insertions(+), 16 deletions(-)
> rename target/cris/{translate_v10.c => translate_v10.inc.c} (100%)
> rename target/mips/{translate_init.c => translate_init.inc.c} (100%)
> rename target/ppc/{mfrom_table.c => mfrom_table.inc.c} (100%)
> rename target/ppc/{translate_init.c => translate_init.inc.c} (99%)
> rename ui/{vnc-enc-zrle-template.c => vnc-enc-zrle.inc.c} (100%)
How did we ever manage rename patches without git's nice compressed
patch representation? :)
Reviewed-by: Eric Blake <eblake@redhat.com>
--
Eric Blake, Principal Software Engineer
Red Hat, Inc. +1-919-301-3266
Virtualization: qemu.org | libvirt.org
next prev parent reply other threads:[~2018-05-04 13:15 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-04 10:51 [Qemu-devel] [PATCH] rename included C files to foo.inc.c, remove osdep.h Paolo Bonzini
2018-05-04 13:15 ` Eric Blake [this message]
2018-05-08 12:48 ` 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=bcd15427-246c-1d54-2c6a-bf5bf7dd0094@redhat.com \
--to=eblake@redhat.com \
--cc=mst@redhat.com \
--cc=pbonzini@redhat.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).