Eliminate MixedCaps symbol from public JTAG TAP API:
- Purely mechanical transformations to the source files. - Rename 'jtag_all_taps' as '__jtag_all_taps.' - Frees original symbol name to rename the accessor function. git-svn-id: svn://svn.berlios.de/openocd/trunk@2061 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
parent
499f30f693
commit
eaf37cf9e8
|
@ -66,9 +66,9 @@ int jtag_srst = 0;
|
||||||
/**
|
/**
|
||||||
* List all TAPs that have been created.
|
* List all TAPs that have been created.
|
||||||
*/
|
*/
|
||||||
static jtag_tap_t *jtag_all_taps = NULL;
|
static jtag_tap_t *__jtag_all_taps = NULL;
|
||||||
/**
|
/**
|
||||||
* The number of TAPs in the jtag_all_taps list, used to track the
|
* The number of TAPs in the __jtag_all_taps list, used to track the
|
||||||
* assigned chain position to new TAPs
|
* assigned chain position to new TAPs
|
||||||
*/
|
*/
|
||||||
static int jtag_num_taps = 0;
|
static int jtag_num_taps = 0;
|
||||||
|
@ -238,7 +238,7 @@ static int handle_tms_sequence_command(struct command_context_s *cmd_ctx, char *
|
||||||
|
|
||||||
jtag_tap_t *jtag_AllTaps(void)
|
jtag_tap_t *jtag_AllTaps(void)
|
||||||
{
|
{
|
||||||
return jtag_all_taps;
|
return __jtag_all_taps;
|
||||||
};
|
};
|
||||||
|
|
||||||
int jtag_NumTotalTaps(void)
|
int jtag_NumTotalTaps(void)
|
||||||
|
@ -267,7 +267,7 @@ static void jtag_tap_add(struct jtag_tap_s *t)
|
||||||
{
|
{
|
||||||
t->abs_chain_position = jtag_num_taps++;
|
t->abs_chain_position = jtag_num_taps++;
|
||||||
|
|
||||||
jtag_tap_t **tap = &jtag_all_taps;
|
jtag_tap_t **tap = &__jtag_all_taps;
|
||||||
while(*tap != NULL)
|
while(*tap != NULL)
|
||||||
tap = &(*tap)->next_tap;
|
tap = &(*tap)->next_tap;
|
||||||
*tap = t;
|
*tap = t;
|
||||||
|
|
Loading…
Reference in New Issue