|
From: <zw...@ma...> - 2009-06-05 02:42:43
|
Author: zwelch
Date: 2009-06-05 02:42:17 +0200 (Fri, 05 Jun 2009)
New Revision: 2061
Modified:
trunk/src/jtag/jtag.c
Log:
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.
Modified: trunk/src/jtag/jtag.c
===================================================================
--- trunk/src/jtag/jtag.c 2009-06-05 00:06:34 UTC (rev 2060)
+++ trunk/src/jtag/jtag.c 2009-06-05 00:42:17 UTC (rev 2061)
@@ -66,9 +66,9 @@
/**
* 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 @@
jtag_tap_t *jtag_AllTaps(void)
{
- return jtag_all_taps;
+ return __jtag_all_taps;
};
int jtag_NumTotalTaps(void)
@@ -267,7 +267,7 @@
{
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;
|