]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Mark long_options[] as const
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>
Sun, 28 Feb 2010 08:23:00 +0000 (09:23 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 28 Feb 2010 13:55:55 +0000 (14:55 +0100)
ccache.c

index 49381bd87bd0f866322db5e24d78e80019bbffaa..62dd485670179ff91b72904bad4449645c9e6171 100644 (file)
--- a/ccache.c
+++ b/ccache.c
@@ -1662,7 +1662,7 @@ static int ccache_main(int argc, char *argv[])
        int c;
        size_t v;
 
-       static struct option long_options[] = {
+       static const struct option long_options[] = {
                {"show-stats", no_argument,       0, 's'},
                {"zero-stats", no_argument,       0, 'z'},
                {"cleanup",    no_argument,       0, 'c'},