projects
/
fw
/
openocd
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
warnings: use more 'const' for char *
[fw/openocd]
/
src
/
target
/
target_type.h
diff --git
a/src/target/target_type.h
b/src/target/target_type.h
index 7a8ac9c4a89a0f7752c347f7a284b20ced122127..bfa7f9379fb35714aaa0a529a5243feed3b9383b 100644
(file)
--- a/
src/target/target_type.h
+++ b/
src/target/target_type.h
@@
-42,7
+42,7
@@
struct target_type
* Name of this type of target. Do @b not access this
* field directly, use target_type_name() instead.
*/
- char *name;
+ c
onst c
har *name;
/* poll current target status */
int (*poll)(struct target *target);