diff options
author | Josh Kunz <jkz@google.com> | 2020-02-03 18:54:15 -0800 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2020-02-19 11:17:40 +0100 |
commit | f63c9862ffd13e41126dd2a70e4c4c287da549a5 (patch) | |
tree | f3cb08e5d30b9941815919fc32cfaa8d7a6cacb2 /linux-user | |
parent | 4b25a50674de41e72f6b3003e3c8c74ca95503d3 (diff) |
linux-user: remove gemu_log from the linux-user tree
Now that all uses have been migrated to `qemu_log' it is no longer
needed.
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Josh Kunz <jkz@google.com>
Message-Id: <20200204025416.111409-4-jkz@google.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 9 | ||||
-rw-r--r-- | linux-user/qemu.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 8f1d07cdd6..22578b1633 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -112,15 +112,6 @@ const char *qemu_uname_release; by remapping the process stack directly at the right place */ unsigned long guest_stack_size = 8 * 1024 * 1024UL; -void gemu_log(const char *fmt, ...) -{ - va_list ap; - - va_start(ap, fmt); - vfprintf(stderr, fmt, ap); - va_end(ap); -} - #if defined(TARGET_I386) int cpu_get_pic_interrupt(CPUX86State *env) { diff --git a/linux-user/qemu.h b/linux-user/qemu.h index 2421dc7afd..792c74290f 100644 --- a/linux-user/qemu.h +++ b/linux-user/qemu.h @@ -211,7 +211,6 @@ abi_long do_syscall(void *cpu_env, int num, abi_long arg1, abi_long arg2, abi_long arg3, abi_long arg4, abi_long arg5, abi_long arg6, abi_long arg7, abi_long arg8); -void gemu_log(const char *fmt, ...) GCC_FMT_ATTR(1, 2); extern __thread CPUState *thread_cpu; void cpu_loop(CPUArchState *env); const char *target_strerror(int err); |