aboutsummaryrefslogtreecommitdiff
path: root/target/mips
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2018-05-04 11:52:55 +0200
committerPaolo Bonzini <pbonzini@redhat.com>2018-05-11 14:33:40 +0200
commit5b27a92dcc5afb11d38c7fe0a637d5d64d31108a (patch)
treea065e7fe7168f9cfe3a0c6c2a9d28813f18d33fe /target/mips
parent3ff333effa319df6178f138d9cf32e3937419790 (diff)
downloadqemu-5b27a92dcc5afb11d38c7fe0a637d5d64d31108a.zip
qemu-5b27a92dcc5afb11d38c7fe0a637d5d64d31108a.tar.gz
qemu-5b27a92dcc5afb11d38c7fe0a637d5d64d31108a.tar.bz2
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/mips')
-rw-r--r--target/mips/translate.c2
-rw-r--r--target/mips/translate_init.inc.c (renamed from target/mips/translate_init.c)0
2 files changed, 1 insertions, 1 deletions
diff --git a/target/mips/translate.c b/target/mips/translate.c
index d05ee67..26f5404 100644
--- a/target/mips/translate.c
+++ b/target/mips/translate.c
@@ -20499,7 +20499,7 @@ void mips_tcg_init(void)
"fcr31");
}
-#include "translate_init.c"
+#include "translate_init.inc.c"
void cpu_mips_realize_env(CPUMIPSState *env)
{
diff --git a/target/mips/translate_init.c b/target/mips/translate_init.inc.c
index c7ba6ee..c7ba6ee 100644
--- a/target/mips/translate_init.c
+++ b/target/mips/translate_init.inc.c