summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 22:41:21 +0000
committerzwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-06-04 22:41:21 +0000
commitc0f9fbcca5a2729098bf9904a5f3c46dc6e7ee0f (patch)
treed1f68c899f3eef8212afa74e5ad549273004485c /src
parent01801e3f458385e9e0203b35bac1d3a592829ece (diff)
downloadopenocd_libswd-c0f9fbcca5a2729098bf9904a5f3c46dc6e7ee0f.tar.gz
openocd_libswd-c0f9fbcca5a2729098bf9904a5f3c46dc6e7ee0f.tar.bz2
openocd_libswd-c0f9fbcca5a2729098bf9904a5f3c46dc6e7ee0f.tar.xz
openocd_libswd-c0f9fbcca5a2729098bf9904a5f3c46dc6e7ee0f.zip
Add missing static keywords in JTAG source file.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2053 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src')
-rw-r--r--src/jtag/jtag.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index dd0d27f3..f57dce58 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -37,7 +37,8 @@
#endif
-int jtag_flush_queue_count; /* count # of flushes for profiling / debugging purposes */
+/// The number of JTAG queue flushes (for profiling and debugging purposes).
+static int jtag_flush_queue_count;
static void jtag_add_scan_check(void (*jtag_add_scan)(int in_num_fields, const scan_field_t *in_fields, tap_state_t state),
int in_num_fields, scan_field_t *in_fields, tap_state_t state);
@@ -906,7 +907,7 @@ int jtag_execute_queue(void)
return retval;
}
-int jtag_reset_callback(enum jtag_event event, void *priv)
+static int jtag_reset_callback(enum jtag_event event, void *priv)
{
jtag_tap_t *tap = priv;
@@ -928,7 +929,7 @@ void jtag_sleep(u32 us)
/* Try to examine chain layout according to IEEE 1149.1 §12
*/
-int jtag_examine_chain(void)
+static int jtag_examine_chain(void)
{
jtag_tap_t *tap;
scan_field_t field;
@@ -1094,7 +1095,7 @@ int jtag_examine_chain(void)
return ERROR_OK;
}
-int jtag_validate_chain(void)
+static int jtag_validate_chain(void)
{
jtag_tap_t *tap;
int total_ir_length = 0;