From eaf37cf9e8d1a9d41f5e6c09cb1fd0a52dc91bbb Mon Sep 17 00:00:00 2001 From: zwelch Date: Fri, 5 Jun 2009 00:42:17 +0000 Subject: [PATCH] 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 --- src/jtag/jtag.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c index a31bb6eea..8a710d0f2 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;