aboutsummaryrefslogtreecommitdiff
path: root/target-i386/bpt_helper.c
diff options
context:
space:
mode:
authorRichard Henderson <rth@twiddle.net>2015-09-15 11:45:07 -0700
committerEduardo Habkost <ehabkost@redhat.com>2015-10-02 16:22:01 -0300
commitdd941cdcfec536aad6a310a153778142ed9f3e92 (patch)
tree93eba1aa94870630382aa675575e6373b2c3762e /target-i386/bpt_helper.c
parentba4b5c65a98ea91dc3b13e42dd9404808c999dda (diff)
target-i386: Make check_hw_breakpoints static
The function is now only used from within a single file. Reviewed-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Richard Henderson <rth@twiddle.net> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'target-i386/bpt_helper.c')
-rw-r--r--target-i386/bpt_helper.c2
1 files changed, 1 insertions, 1 deletions
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;