]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/fib_hash.c
[NET]: Add const markers to various variables.
[linux-2.6-omap-h63xx.git] / net / ipv4 / fib_hash.c
index 2a8c9afc3695d88a673e2f35cba900d0aa63c409..7ea0209cb1697ddd50bbf5a98b4cf8f89a5d484a 100644 (file)
@@ -975,7 +975,7 @@ static void fib_seq_stop(struct seq_file *seq, void *v)
 
 static unsigned fib_flag_trans(int type, u32 mask, struct fib_info *fi)
 {
-       static unsigned type2flags[RTN_MAX + 1] = {
+       static const unsigned type2flags[RTN_MAX + 1] = {
                [7] = RTF_REJECT, [8] = RTF_REJECT,
        };
        unsigned flags = type2flags[type];