net: mark read-only arrays as const
[deliverable/linux.git] / net / netfilter / ipvs / ip_vs_proto_tcp.c
index 2278e141489e0d3f376892260ea73bc8d0433b88..91d28e073742db770bb5df2ee8ee123fb7afbc0a 100644 (file)
@@ -377,7 +377,7 @@ static int tcp_timeouts[IP_VS_TCP_S_LAST+1] = {
        [IP_VS_TCP_S_LAST]              =       2*HZ,
 };
 
-static char * tcp_state_name_table[IP_VS_TCP_S_LAST+1] = {
+static const char *const tcp_state_name_table[IP_VS_TCP_S_LAST+1] = {
        [IP_VS_TCP_S_NONE]              =       "NONE",
        [IP_VS_TCP_S_ESTABLISHED]       =       "ESTABLISHED",
        [IP_VS_TCP_S_SYN_SENT]          =       "SYN_SENT",
This page took 0.029249 seconds and 5 git commands to generate.