diff options
author | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-25 16:38:08 -0800 |
---|---|---|
committer | David Brownell <dbrownell@users.sourceforge.net> | 2009-11-25 16:38:08 -0800 |
commit | b715a81f5b95144118d8f946d4191f1dc844783a (patch) | |
tree | b3c553cd43e489f00105d4ba52bccafa1705375f /src/target/target_type.h | |
parent | ac06d41fc723c264e989673be16f9f21a1896518 (diff) |
target: target_get_name() --> target_type_name()
There are two names that may matter on a per-target basis.
One is a per-instance name (for example, "at91sam7s.cpu").
The other is the name of its type (for example, "arm7tdmi"),
which is shared among multiple targets.
Currently target_get_name() returns the type name, which is
misleading and is rarely appropriate for target diagnostics.
Rename that as target_type_name().
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Diffstat (limited to 'src/target/target_type.h')
-rw-r--r-- | src/target/target_type.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/target/target_type.h b/src/target/target_type.h index 9a0709d8..333b58b4 100644 --- a/src/target/target_type.h +++ b/src/target/target_type.h @@ -39,7 +39,7 @@ struct target_type { /** * Name of this type of target. Do @b not access this - * field directly, use target_get_name() instead. + * field directly, use target_type_name() instead. */ char *name; |