From dc473cfbf9dc7c7b05c7f27c8e65d5f34bc5ed44 Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Wed, 14 Aug 2013 17:58:53 +0000 Subject: make remote_protocol_features "const" This is a trivial patch to make remote_protocol_features "const". * remote.c (remote_protocol_features): Now const. --- gdb/remote.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gdb/remote.c') diff --git a/gdb/remote.c b/gdb/remote.c index 47012fe..9d9aae4 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -3963,7 +3963,7 @@ remote_augmented_libraries_svr4_read_feature rs->augmented_libraries_svr4_read = (support == PACKET_ENABLE); } -static struct protocol_feature remote_protocol_features[] = { +static const struct protocol_feature remote_protocol_features[] = { { "PacketSize", PACKET_DISABLE, remote_packet_size, -1 }, { "qXfer:auxv:read", PACKET_DISABLE, remote_supported_packet, PACKET_qXfer_auxv }, -- cgit v1.1