# HG changeset patch # User Paul Aurich # Date 1240037579 0 # Node ID 464dbfad4474c7395947ae0f7736ce96aae5f0af # Parent 5149ecc8f456cf141103d6bb628fda358f70656b Constify the disco_type_mappings struct diff -r 5149ecc8f456 -r 464dbfad4474 libpurple/protocols/jabber/disco.c --- a/libpurple/protocols/jabber/disco.c Sat Apr 18 06:52:34 2009 +0000 +++ b/libpurple/protocols/jabber/disco.c Sat Apr 18 06:52:59 2009 +0000 @@ -635,7 +635,7 @@ return PURPLE_DISCO_SERVICE_TYPE_OTHER; } -static struct { +static const struct { const char *from; const char *to; } disco_type_mappings[] = {