Received: from eggs.gnu.org ([2001:4830:134:3::10]:49419) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbvEG-0007gD-PA for qemu-devel@nongnu.org; Tue, 15 Sep 2015 14:45:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZbvEE-0001o0-HH for qemu-devel@nongnu.org; Tue, 15 Sep 2015 14:45:20 -0400 Received: from mail-pa0-x22f.google.com ([2607:f8b0:400e:c03::22f]:36559) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZbvEE-0001n7-5v for qemu-devel@nongnu.org; Tue, 15 Sep 2015 14:45:18 -0400 Received: by padhk3 with SMTP id hk3so183760389pad.3 for ; Tue, 15 Sep 2015 11:45:17 -0700 (PDT) Sender: Richard Henderson From: Richard Henderson Date: Tue, 15 Sep 2015 11:45:07 -0700 Message-Id: <1442342713-29497-3-git-send-email-rth@twiddle.net> In-Reply-To: <1442342713-29497-1-git-send-email-rth@twiddle.net> References: <1442342713-29497-1-git-send-email-rth@twiddle.net> Subject: [Qemu-devel] [PATCH 2/8] target-i386: Make check_hw_breakpoints static List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: pbonzini@redhat.com, ehabkost@redhat.com The function is now only used from within a single file. Signed-off-by: Richard Henderson --- target-i386/bpt_helper.c | 2 +- target-i386/cpu.h | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/target-i386/bpt_helper.c b/target-i386/bpt_helper.c index 6f6537d..c071c24 100644 --- a/target-i386/bpt_helper.c +++ b/target-i386/bpt_helper.c @@ -79,7 +79,7 @@ void hw_breakpoint_remove(CPUX86State *env, int index) } } -bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update) +static bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update) { target_ulong dr6; int reg; diff --git a/target-i386/cpu.h b/target-i386/cpu.h index 3bcf2f6..9189a63 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -1152,7 +1152,6 @@ static inline int hw_breakpoint_len(unsigned long dr7, int index) void hw_breakpoint_insert(CPUX86State *env, int index); void hw_breakpoint_remove(CPUX86State *env, int index); -bool check_hw_breakpoints(CPUX86State *env, bool force_dr6_update); void breakpoint_handler(CPUState *cs); /* will be suppressed */ -- 2.1.0