diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-04 11:52:55 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2018-05-11 14:33:40 +0200 |
commit | 5b27a92dcc5afb11d38c7fe0a637d5d64d31108a (patch) | |
tree | a065e7fe7168f9cfe3a0c6c2a9d28813f18d33fe /target/cris | |
parent | 3ff333effa319df6178f138d9cf32e3937419790 (diff) |
rename included C files to foo.inc.c, remove osdep.h
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>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'target/cris')
-rw-r--r-- | target/cris/translate.c | 2 | ||||
-rw-r--r-- | target/cris/translate_v10.inc.c (renamed from target/cris/translate_v10.c) | 0 |
2 files changed, 1 insertions, 1 deletions
diff --git a/target/cris/translate.c b/target/cris/translate.c index f51a731db9..ce1ee7a45f 100644 --- a/target/cris/translate.c +++ b/target/cris/translate.c @@ -3047,7 +3047,7 @@ static unsigned int crisv32_decoder(CPUCRISState *env, DisasContext *dc) return insn_len; } -#include "translate_v10.c" +#include "translate_v10.inc.c" /* * Delay slots on QEMU/CRIS. diff --git a/target/cris/translate_v10.c b/target/cris/translate_v10.inc.c index fce78825cc..fce78825cc 100644 --- a/target/cris/translate_v10.c +++ b/target/cris/translate_v10.inc.c |