summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-05 00:42:17 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-05 00:42:17 +0000
commiteaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb (patch)
tree09c86ecc22681475fc690db838fec8d480aa9750 /src
parent499f30f693c8bac29405a290f6e4f4bac0eff01f (diff)
downloadopenocd+libswd-eaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb.tar.gz
openocd+libswd-eaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb.tar.bz2
openocd+libswd-eaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb.tar.xz
openocd+libswd-eaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index a31bb6ee..8a710d0f 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -66,9 +66,9 @@ int jtag_srst = 0;
/**
* 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
*/
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)
{
- return jtag_all_taps;
+ return __jtag_all_taps;
};
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++;
- jtag_tap_t **tap = &jtag_all_taps;
+ jtag_tap_t **tap = &__jtag_all_taps;
while(*tap != NULL)
tap = &(*tap)->next_tap;
*tap = t;