summaryrefslogtreecommitdiff
path: root/src/target/target.h
diff options
context:
space:
mode:
authoroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-30 17:30:14 +0000
committeroharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60>2009-08-30 17:30:14 +0000
commitd879faa3cb8200c1c31e1a52c42e9bbacb9fac40 (patch)
treef4615c0c22e50f94c61a292ce3d582132ca2d789 /src/target/target.h
parent4b9bdd664a79d5713b22a178086b071abc049d01 (diff)
downloadopenocd_libswd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.tar.gz
openocd_libswd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.tar.bz2
openocd_libswd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.tar.xz
openocd_libswd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.zip
David Brownell <david-b@pacbell.net> start phasing out integers as target IDs
git-svn-id: svn://svn.berlios.de/openocd/trunk@2650 b42882b7-edfa-0310-969c-e2dbd0fdcd60
Diffstat (limited to 'src/target/target.h')
-rw-r--r--src/target/target.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h
index 9894aca9..509bfd2a 100644
--- a/src/target/target.h
+++ b/src/target/target.h
@@ -120,7 +120,7 @@ typedef struct target_s
{
target_type_t *type; /* target type definition (name, access functions) */
const char *cmd_name; /* tcl Name of target */
- int target_number; /* generaly, target index but may not be in order */
+ int target_number; /* DO NOT USE! field to be removed in 2010 */
jtag_tap_t *tap; /* where on the jtag chain is this */
const char *variant; /* what varient of this chip is it? */
target_event_action_t *event_action;
@@ -250,7 +250,6 @@ extern int target_call_timer_callbacks(void);
extern int target_call_timer_callbacks_now(void);
extern target_t* get_current_target(struct command_context_s *cmd_ctx);
-extern int get_num_by_target(target_t *query_target);
extern target_t *get_target(const char *id);
/**