]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
ccache.c: mark extensions array as const
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Sun, 21 Feb 2010 18:24:48 +0000 (19:24 +0100)
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Sun, 21 Feb 2010 18:32:25 +0000 (19:32 +0100)
ccache.c

index cad794aa185d9c02642e504788559997ac4b182f..42572336e0ab4547d8995e16363abe0f4bafda07 100644 (file)
--- 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"},