Skip to content

Commit be3612f

Browse files
debug: Fix declaration/definition mismatch in {set, get}_devint_reg (#27)
2 parents 495b917 + c206d69 commit be3612f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

debug/debug-unit.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,9 @@ static int in_reset = 0;
8686
/*! Forward declaration of static functions */
8787
static int calculate_watchpoints (enum debug_unit_action action,
8888
unsigned long udata);
89-
static int get_devint_reg (unsigned int addr,
89+
static int get_devint_reg (enum development_interface_address_space addr,
9090
unsigned long *data);
91-
static int set_devint_reg (unsigned int addr,
91+
static int set_devint_reg (enum development_interface_address_space addr,
9292
unsigned long data);
9393
static int debug_set_mem (oraddr_t address, uorreg_t data);
9494
static int debug_get_mem (oraddr_t address, uorreg_t * data);

0 commit comments

Comments
 (0)