qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Michael Rolnik <mrolnik@gmail.com>
To: qemu-devel@nongnu.org
Cc: anichang@protonmail.ch, Michael Rolnik <mrolnik@gmail.com>,
	Richard Henderson <rth@twiddle.net>
Subject: [Qemu-devel] [PATCH RFC v19 12/13] target-avr: Respect .inc.c convention
Date: Thu,  8 Jun 2017 22:38:21 +0300	[thread overview]
Message-ID: <20170608193822.24418-3-rolnik@amazon.com> (raw)
In-Reply-To: <20170608193822.24418-1-rolnik@amazon.com>

From: Michael Rolnik <mrolnik@gmail.com>

From: Richard Henderson <rth@twiddle.net>

Signed-off-by: Richard Henderson <rth@twiddle.net>
---
 target/avr/{decode.c => decode.inc.c}                 | 0
 target/avr/{translate-inst.c => translate-inst.inc.c} | 0
 target/avr/translate.c                                | 4 ++--
 3 files changed, 2 insertions(+), 2 deletions(-)
 rename target/avr/{decode.c => decode.inc.c} (100%)
 rename target/avr/{translate-inst.c => translate-inst.inc.c} (100%)

diff --git a/target/avr/decode.c b/target/avr/decode.inc.c
similarity index 100%
rename from target/avr/decode.c
rename to target/avr/decode.inc.c
diff --git a/target/avr/translate-inst.c b/target/avr/translate-inst.inc.c
similarity index 100%
rename from target/avr/translate-inst.c
rename to target/avr/translate-inst.inc.c
diff --git a/target/avr/translate.c b/target/avr/translate.c
index 184e66c04e..428261a64a 100644
--- a/target/avr/translate.c
+++ b/target/avr/translate.c
@@ -103,8 +103,8 @@ static void gen_goto_tb(DisasContext *ctx, int n, target_ulong dest)
 
 #include "exec/gen-icount.h"
 #include "translate-inst.h"
-#include "translate-inst.c"
-#include "decode.c"
+#include "translate-inst.inc.c"
+#include "decode.inc.c"
 
 void avr_translate_init(void)
 {
-- 
2.11.0 (Apple Git-81)

  parent reply	other threads:[~2017-06-08 19:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-08 19:38 [Qemu-devel] [PATCH RFC v19 10/13] target-avr: Put env pointer in DisasContext Michael Rolnik
2017-06-08 19:38 ` [Qemu-devel] [PATCH RFC v19 11/13] target-avr: Put all translation code into one compilation unit Michael Rolnik
2017-06-13 20:07   ` Thomas Huth
2017-06-13 20:30     ` Michael Rolnik
2017-06-14  5:22       ` Thomas Huth
2017-06-13 23:19     ` Anichang
2017-06-08 19:38 ` Michael Rolnik [this message]
2017-06-08 19:38 ` [Qemu-devel] [PATCH RFC v19 13/13] target-avr: Merge translate-inst.inc.c into translate.c Michael Rolnik

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=20170608193822.24418-3-rolnik@amazon.com \
    --to=mrolnik@gmail.com \
    --cc=anichang@protonmail.ch \
    --cc=qemu-devel@nongnu.org \
    --cc=rth@twiddle.net \
    /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).