linux-user: remove gemu_log from the linux-user tree
authorJosh Kunz <jkz@google.com>
Tue, 4 Feb 2020 02:54:15 +0000 (18:54 -0800)
committerLaurent Vivier <laurent@vivier.eu>
Wed, 19 Feb 2020 10:17:40 +0000 (11:17 +0100)
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>
linux-user/main.c
linux-user/qemu.h

index 8f1d07cdd6a7c0d435b11849f2baffdea88a2e65..22578b16336429e171a1d3a54e5d1657f38f2d06 100644 (file)
@@ -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)
 {
index 2421dc7afd7a730321f8faa5c66ebd9a0c352354..792c74290f8d376235b07f3f8ef084aa6e4715f7 100644 (file)
@@ -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);