From 7acc14da166420eb46123d2bc70301d849dd9d73 Mon Sep 17 00:00:00 2001 From: Ladi Prosek Date: Mon, 26 Feb 2018 02:31:02 -0500 Subject: [PATCH] Remove unused function declarations Unused function declarations were found using a simple gcc plugin and manually verified by grepping the sources. Backports commit d4b84d564ee3eb7a58e4585d671fb3c220b6c3b9 from qemu --- qemu/target-m68k/cpu.h | 1 - qemu/tcg/tcg.h | 2 -- 2 files changed, 3 deletions(-) diff --git a/qemu/target-m68k/cpu.h b/qemu/target-m68k/cpu.h index e6d7dc19..96a8d537 100644 --- a/qemu/target-m68k/cpu.h +++ b/qemu/target-m68k/cpu.h @@ -201,7 +201,6 @@ enum { #define MACSR_EV 0x001 void m68k_set_irq_level(M68kCPU *cpu, int level, uint8_t vector); -void m68k_set_macsr(CPUM68KState *env, uint32_t val); void m68k_switch_sp(CPUM68KState *env); #define M68K_FPCR_PREC (1 << 6) diff --git a/qemu/tcg/tcg.h b/qemu/tcg/tcg.h index 7b858076..3a030b95 100644 --- a/qemu/tcg/tcg.h +++ b/qemu/tcg/tcg.h @@ -617,7 +617,6 @@ QEMU_BUILD_BUG_ON(sizeof(TCGOp) > 8); void *tcg_malloc_internal(TCGContext *s, int size); void tcg_pool_reset(TCGContext *s); -void tcg_pool_delete(TCGContext *s); void tcg_context_init(TCGContext *s); void tcg_context_free(void *s); // free memory allocated for @s @@ -1042,7 +1041,6 @@ static inline void *tcg_malloc(TCGContext *s, int size) /* only used for debugging purposes */ void tcg_dump_ops(TCGContext *s); -void dump_ops(const uint16_t *opc_buf, const TCGArg *opparam_buf); TCGv_i32 tcg_const_i32(TCGContext *s, int32_t val); TCGv_i64 tcg_const_i64(TCGContext *s, int64_t val); TCGv_i32 tcg_const_local_i32(TCGContext *s, int32_t val);