From 4f9a9b8ebae8425eda3a71ccb782789cd3b8f6b7 Mon Sep 17 00:00:00 2001 From: Øyvind Harboe Date: Wed, 29 Dec 2010 22:07:21 +0100 Subject: warnings: use more 'const' for char * MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Øyvind Harboe --- src/target/target_type.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/target/target_type.h') diff --git a/src/target/target_type.h b/src/target/target_type.h index 7a8ac9c4..bfa7f937 100644 --- 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; + const char *name; /* poll current target status */ int (*poll)(struct target *target); -- cgit v1.2.3