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
This commit is contained in:
Ladi Prosek 2018-02-26 02:31:02 -05:00 committed by Lioncash
parent b581d4033f
commit 7acc14da16
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7
2 changed files with 0 additions and 3 deletions

View file

@ -201,7 +201,6 @@ enum {
#define MACSR_EV 0x001 #define MACSR_EV 0x001
void m68k_set_irq_level(M68kCPU *cpu, int level, uint8_t vector); 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); void m68k_switch_sp(CPUM68KState *env);
#define M68K_FPCR_PREC (1 << 6) #define M68K_FPCR_PREC (1 << 6)

View file

@ -617,7 +617,6 @@ QEMU_BUILD_BUG_ON(sizeof(TCGOp) > 8);
void *tcg_malloc_internal(TCGContext *s, int size); void *tcg_malloc_internal(TCGContext *s, int size);
void tcg_pool_reset(TCGContext *s); void tcg_pool_reset(TCGContext *s);
void tcg_pool_delete(TCGContext *s);
void tcg_context_init(TCGContext *s); void tcg_context_init(TCGContext *s);
void tcg_context_free(void *s); // free memory allocated for @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 */ /* only used for debugging purposes */
void tcg_dump_ops(TCGContext *s); 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_i32 tcg_const_i32(TCGContext *s, int32_t val);
TCGv_i64 tcg_const_i64(TCGContext *s, int64_t val); TCGv_i64 tcg_const_i64(TCGContext *s, int64_t val);
TCGv_i32 tcg_const_local_i32(TCGContext *s, int32_t val); TCGv_i32 tcg_const_local_i32(TCGContext *s, int32_t val);