From: Richard Henderson Date: Tue, 15 Sep 2015 18:45:07 +0000 (-0700) Subject: target-i386: Make check_hw_breakpoints static X-Git-Tag: Tizen_Studio_1.3_Release_p2.3.2~121^2~1^2~149^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dd941cdcfec536aad6a310a153778142ed9f3e92;p=sdk%2Femulator%2Fqemu.git target-i386: Make check_hw_breakpoints static The function is now only used from within a single file. Reviewed-by: Eduardo Habkost Signed-off-by: Richard Henderson Signed-off-by: Eduardo Habkost --- diff --git a/target-i386/bpt_helper.c b/target-i386/bpt_helper.c index 6f6537d58c..c071c24782 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 dc7654d370..92426dc1f9 100644 --- a/target-i386/cpu.h +++ b/target-i386/cpu.h @@ -1154,7 +1154,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 */