summaryrefslogtreecommitdiff
path: root/src/jtag/jtag.c
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-07 13:04:13 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-05-07 13:04:13 +0000
commitc4ee880715121ccfb2ad960673d0f5e603c60d3d (patch)
tree4c642bbe249930cc5b41225c4207721e50a27111 /src/jtag/jtag.c
parent146b6462a3fea7073a73487d8c943eb0ef20c469 (diff)
downloadopenocd+libswd-c4ee880715121ccfb2ad960673d0f5e603c60d3d.tar.gz
openocd+libswd-c4ee880715121ccfb2ad960673d0f5e603c60d3d.tar.bz2
openocd+libswd-c4ee880715121ccfb2ad960673d0f5e603c60d3d.tar.xz
openocd+libswd-c4ee880715121ccfb2ad960673d0f5e603c60d3d.zip
jtag API error handling refactoring.
git-svn-id: svn://svn.berlios.de/openocd/trunk@1638 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/jtag/jtag.c')
-rw-r--r--src/jtag/jtag.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jtag/jtag.c b/src/jtag/jtag.c
index 242eb56b..981f47e1 100644
--- a/src/jtag/jtag.c
+++ b/src/jtag/jtag.c
@@ -42,7 +42,7 @@
#include <strings.h>
#endif
-static void jtag_execute_queue_noclear(void);
+
/* note that this is not marked as static as it must be available from outside jtag.c for those
that implement the jtag_xxx() minidriver layer
@@ -1446,7 +1446,7 @@ int MINIDRIVER(interface_jtag_execute_queue)(void)
return retval;
}
-static void jtag_execute_queue_noclear(void)
+void jtag_execute_queue_noclear(void)
{
int retval=interface_jtag_execute_queue();
/* we keep the first error */