target-i386: Make check_hw_breakpoints static

The function is now only used from within a single file.

Backports commit dd941cdcfec536aad6a310a153778142ed9f3e92 from qemu
This commit is contained in:
Richard Henderson 2018-02-11 12:27:06 -05:00 committed by Lioncash
parent 10e0920fa0
commit 77b03e0973
No known key found for this signature in database
GPG Key ID: 4E3C3CC1031BA9C7
2 changed files with 1 additions and 2 deletions

View 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;

View File

@ -1185,7 +1185,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 */