summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorZachary T Welch <zw@superlucidity.net>2009-11-15 09:11:29 -0800
committerZachary T Welch <zw@superlucidity.net>2009-11-15 09:11:29 -0800
commit673196887325188af843a9cc153c3cde86b25321 (patch)
tree5902d9e4c8576669697de490b8b850ad1c5bbff6 /src
parenta502676df7e6e99c29f207003ec02a128012d325 (diff)
downloadopenocd+libswd-673196887325188af843a9cc153c3cde86b25321.tar.gz
openocd+libswd-673196887325188af843a9cc153c3cde86b25321.tar.bz2
openocd+libswd-673196887325188af843a9cc153c3cde86b25321.tar.xz
openocd+libswd-673196887325188af843a9cc153c3cde86b25321.zip
rlink: fix overzealous sed
Fix an instance where my cleanup when awry.
Diffstat (limited to 'src')
-rw-r--r--src/jtag/rlink/rlink.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/jtag/rlink/rlink.c b/src/jtag/rlink/rlink.c
index 8aa0342a..c88067c9 100644
--- a/src/jtag/rlink/rlink.c
+++ b/src/jtag/rlink/rlink.c
@@ -577,8 +577,8 @@ dtc_run_download(
*/
struct dtc_reply_queue_entry {
- struct dtc_reply_queue_entry_s *next;
- jtag_struct command *cmd; /* the command that resulted in this entry */
+ struct dtc_reply_queue_entry *next;
+ struct jtag_command *cmd; /* the command that resulted in this entry */
struct {
uint8_t *buffer; /* the scan buffer */
@@ -637,7 +637,7 @@ dtc_queue_enqueue_reply(
int size,
int offset,
int length,
- jtag_struct command *cmd
+ struct jtag_command *cmd
) {
struct dtc_reply_queue_entry *rq_entry;
@@ -1090,7 +1090,7 @@ void rlink_reset(int trst, int srst)
static
int
rlink_scan(
- jtag_struct command *cmd,
+ struct jtag_command *cmd,
enum scan_type type,
uint8_t *buffer,
int scan_size
@@ -1378,7 +1378,7 @@ rlink_scan(
static
int rlink_execute_queue(void)
{
- jtag_struct command *cmd = jtag_command_queue; /* currently processed command */
+ struct jtag_command *cmd = jtag_command_queue; /* currently processed command */
int scan_size;
enum scan_type type;
uint8_t *buffer;