]> www.infradead.org Git - users/dwmw2/qemu.git/commitdiff
target-i386: Make check_hw_breakpoints static
authorRichard Henderson <rth@twiddle.net>
Tue, 15 Sep 2015 18:45:07 +0000 (11:45 -0700)
committerEduardo Habkost <ehabkost@redhat.com>
Fri, 2 Oct 2015 19:22:01 +0000 (16:22 -0300)
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>
target-i386/bpt_helper.c
target-i386/cpu.h

index 6f6537d58c546091128f10583a3e3ca191ba3e9a..c071c24782ea1ce837864d9d03e039256baeb73f 100644 (file)
@@ -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;
index dc7654d3704fa1e7d2bde687843ba42dd592da4f..92426dc1f9b4ff9eef961828f6fad6b16d7538c9 100644 (file)
@@ -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 */