mirror of
https://github.com/linux-msm/openocd.git
synced 2026-02-25 13:15:07 -08:00
target: x86_32: make x86_32_common_read_io() static
The function is not referenced outside the file. Make it static. Change-Id: Ic2552c040b6b46c0334851a4fc0fdaa400e11e4c Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com> Reviewed-on: https://review.openocd.org/c/openocd/+/8548 Tested-by: jenkins
This commit is contained in:
@@ -677,7 +677,7 @@ int x86_32_common_write_memory(struct target *t, target_addr_t addr,
|
||||
return retval;
|
||||
}
|
||||
|
||||
int x86_32_common_read_io(struct target *t, uint32_t addr,
|
||||
static int x86_32_common_read_io(struct target *t, uint32_t addr,
|
||||
uint32_t size, uint8_t *buf)
|
||||
{
|
||||
struct x86_32_common *x86_32 = target_to_x86_32(t);
|
||||
|
||||
@@ -309,8 +309,6 @@ int x86_32_common_read_memory(struct target *t, target_addr_t addr,
|
||||
uint32_t size, uint32_t count, uint8_t *buf);
|
||||
int x86_32_common_write_memory(struct target *t, target_addr_t addr,
|
||||
uint32_t size, uint32_t count, const uint8_t *buf);
|
||||
int x86_32_common_read_io(struct target *t, uint32_t addr,
|
||||
uint32_t size, uint8_t *buf);
|
||||
int x86_32_common_write_io(struct target *t, uint32_t addr,
|
||||
uint32_t size, const uint8_t *buf);
|
||||
int x86_32_common_add_breakpoint(struct target *t, struct breakpoint *bp);
|
||||
|
||||
Reference in New Issue
Block a user