diff options
author | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-30 17:30:14 +0000 |
---|---|---|
committer | oharboe <oharboe@b42882b7-edfa-0310-969c-e2dbd0fdcd60> | 2009-08-30 17:30:14 +0000 |
commit | d879faa3cb8200c1c31e1a52c42e9bbacb9fac40 (patch) | |
tree | f4615c0c22e50f94c61a292ce3d582132ca2d789 /src/target/target.h | |
parent | 4b9bdd664a79d5713b22a178086b071abc049d01 (diff) | |
download | riscv-openocd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.zip riscv-openocd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.tar.gz riscv-openocd-d879faa3cb8200c1c31e1a52c42e9bbacb9fac40.tar.bz2 |
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.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/target.h b/src/target/target.h index 9894aca..509bfd2 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); /** |