From: Kovarththanan Rajaratnam Date: Sun, 21 Feb 2010 18:24:48 +0000 (+0100) Subject: ccache.c: mark extensions array as const X-Git-Tag: v3.0pre0~63^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b88b4feb490a3da35a5928fa7e2008262ede5c00;p=thirdparty%2Fccache.git ccache.c: mark extensions array as const --- diff --git a/ccache.c b/ccache.c index cad794aa1..42572336e 100644 --- a/ccache.c +++ b/ccache.c @@ -132,9 +132,9 @@ static int enable_direct = 1; /* a list of supported file extensions, and the equivalent extension for code that has been through the pre-processor */ -static struct { - char *extension; - char *i_extension; +static const struct { + const char *extension; + const char *i_extension; } extensions[] = { {"c", "i"}, {"C", "ii"},