diff --git a/src/core/sal/bochs/BochsHelpers.hpp b/src/core/sal/bochs/BochsHelpers.hpp index 1ad125f4..b1d1ae4c 100644 --- a/src/core/sal/bochs/BochsHelpers.hpp +++ b/src/core/sal/bochs/BochsHelpers.hpp @@ -3,6 +3,7 @@ #include "cpu/cpu.h" +static inline BX_CPU_C *getCPU(BX_CPU_C *that) __attribute__((unused)); static inline BX_CPU_C *getCPU(BX_CPU_C *that) { #if BX_USE_CPU_SMF == 0