From 61a216ba15868b9ccb6d585e15d09eb25b5d7e83 Mon Sep 17 00:00:00 2001 From: Kyle Huey Date: Wed, 15 May 2024 11:30:56 -0700 Subject: [PATCH] More build fixes. --- src/PerfCounters.h | 2 +- src/fast_forward.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PerfCounters.h b/src/PerfCounters.h index f8bdc64cad6..cc24b8549f9 100644 --- a/src/PerfCounters.h +++ b/src/PerfCounters.h @@ -182,7 +182,7 @@ class PerfCounters { #ifdef USEBPF bool accelerate_async_signal(const Registers& regs); #else - bool accelerate_async_signal(const Registers&) { + inline bool accelerate_async_signal(const Registers&) { return false; } #endif diff --git a/src/fast_forward.h b/src/fast_forward.h index c0398a6889d..18620689b98 100644 --- a/src/fast_forward.h +++ b/src/fast_forward.h @@ -63,7 +63,7 @@ bool at_x86_string_instruction(Task* t); #if defined(__i386__) || defined(__x86_64__) bool is_x86_string_instruction_at(Task* t, remote_code_ptr ip); #else -bool is_x86_string_instruction_at(Task*, remote_code_ptr) { +inline bool is_x86_string_instruction_at(Task*, remote_code_ptr) { return false; } #endif