diff options
Diffstat (limited to 'gdb/remote.c')
-rw-r--r-- | gdb/remote.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gdb/remote.c b/gdb/remote.c index fbe959a..62a7a1c 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -526,17 +526,17 @@ enum packet_detect struct packet_config { - char *state; + const char *state; char *name; char *title; enum packet_detect detect; enum packet_support support; }; -static char packet_support_auto[] = "auto"; -static char packet_enable[] = "enable"; -static char packet_disable[] = "disable"; -static char *packet_support_enums[] = +static const char packet_support_auto[] = "auto"; +static const char packet_enable[] = "enable"; +static const char packet_disable[] = "disable"; +static const char *packet_support_enums[] = { packet_support_auto, packet_enable, |