make remote_protocol_features "const"

This is a trivial patch to make remote_protocol_features "const".

	* remote.c (remote_protocol_features): Now const.
This commit is contained in:
Tom Tromey 2013-08-14 17:58:53 +00:00
parent 85ec6ce7d5
commit dc473cfbf9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2013-08-14 Tom Tromey <tromey@redhat.com>
* remote.c (remote_protocol_features): Now const.
2013-08-14 Tom Tromey <tromey@redhat.com>
* remote.c (crc32_table, crc32): Remove.

View File

@ -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 },