diff options
author | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 08:40:54 +0000 |
---|---|---|
committer | zwelch <zwelch@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-06-09 08:40:54 +0000 |
commit | a70d77aec391db10ec5b6dcf3dfddc0a1596ef08 (patch) | |
tree | 91c63218d3cf1c6af8171d38c25024ff824cd857 | |
parent | f9596e96c9835101343603b7ad9c02682b3e7485 (diff) | |
download | openocd_libswd-a70d77aec391db10ec5b6dcf3dfddc0a1596ef08.tar.gz openocd_libswd-a70d77aec391db10ec5b6dcf3dfddc0a1596ef08.tar.bz2 openocd_libswd-a70d77aec391db10ec5b6dcf3dfddc0a1596ef08.tar.xz openocd_libswd-a70d77aec391db10ec5b6dcf3dfddc0a1596ef08.zip |
Add missing static keywords to a few variables in JTAG core module.
git-svn-id: svn://svn.berlios.de/openocd/trunk@2163 b42882b7-edfa-0310-969c-e2dbd0fdcd60
-rw-r--r-- | src/jtag/core.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/core.c b/src/jtag/core.c index 85b2a32e..4c393dc2 100644 --- a/src/jtag/core.c +++ b/src/jtag/core.c @@ -58,7 +58,7 @@ static void jtag_add_scan_check(void (*jtag_add_scan)(int in_num_fields, const s */ static int jtag_error = ERROR_OK; -char* jtag_event_strings[] = +static char* jtag_event_strings[] = { "JTAG controller reset (RESET or TRST)" }; @@ -83,12 +83,12 @@ static jtag_tap_t *__jtag_all_taps = NULL; */ static unsigned jtag_num_taps = 0; -enum reset_types jtag_reset_config = RESET_NONE; -tap_state_t cmd_queue_end_state = TAP_RESET; +static enum reset_types jtag_reset_config = RESET_NONE; +static tap_state_t cmd_queue_end_state = TAP_RESET; tap_state_t cmd_queue_cur_state = TAP_RESET; int jtag_verify_capture_ir = 1; -int jtag_verify = 1; +static int jtag_verify = 1; /* how long the OpenOCD should wait before attempting JTAG communication after reset lines deasserted (in ms) */ static int jtag_nsrst_delay = 0; /* default to no nSRST delay */ @@ -106,7 +106,7 @@ struct jtag_interface_s *jtag = NULL; /* configuration */ jtag_interface_t *jtag_interface = NULL; -int jtag_speed = 0; +static int jtag_speed = 0; void jtag_set_error(int error) { |