commit 9a2583e96710ba49a8fd2a4ab87db7212c1e887c Upstream: https://github.com/unicorn-engine/unicorn/pull/1886 Author: Mario Haustein Date: Sun Oct 8 13:40:23 2023 +0200 fix deprecated storage-class declarations --- a/qemu/accel/tcg/cputlb.c +++ b/qemu/accel/tcg/cputlb.c @@ -1415,7 +1415,7 @@ load_memop(const void *haddr, MemOp op) } } -static uint64_t inline +static inline uint64_t load_helper(CPUArchState *env, target_ulong addr, TCGMemOpIdx oi, uintptr_t retaddr, MemOp op, bool code_read, FullLoadHelper *full_load) @@ -1983,7 +1983,7 @@ uint64_t cpu_ldq_data(CPUArchState *env, target_ulong ptr) * Store Helpers */ -static void inline +static inline void store_memop(void *haddr, uint64_t val, MemOp op) { switch (op) { @@ -2014,7 +2014,7 @@ store_memop(void *haddr, uint64_t val, MemOp op) } } -static void inline +static inline void store_helper(CPUArchState *env, target_ulong addr, uint64_t val, TCGMemOpIdx oi, uintptr_t retaddr, MemOp op) { @@ -2343,7 +2343,7 @@ void helper_be_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val, * Store Helpers for cpu_ldst.h */ -static void inline +static inline void cpu_store_helper(CPUArchState *env, target_ulong addr, uint64_t val, int mmu_idx, uintptr_t retaddr, MemOp op) // qq {