From b9dc675ac78098182c90d19ea19705c2237e323e Mon Sep 17 00:00:00 2001 From: "/C=EU/ST=EU/CN=Patrick McHardy/emailAddress=kaber@trash.net" Date: Thu, 4 Oct 2007 16:25:58 +0000 Subject: [PATCH 05/13] Constify data structures Constify more data structures. Make functions static. Signed-off-by: Jan Engelhardt --- extensions/libxt_tcp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_tcp.c') diff --git a/extensions/libxt_tcp.c b/extensions/libxt_tcp.c index 6ab0e22..ed07667 100644 --- a/extensions/libxt_tcp.c +++ b/extensions/libxt_tcp.c @@ -66,7 +66,7 @@ struct tcp_flag_names { unsigned int flag; }; -static struct tcp_flag_names tcp_flag_names[] +static const struct tcp_flag_names tcp_flag_names[] = { { "FIN", 0x01 }, { "SYN", 0x02 }, { "RST", 0x04 }, -- cgit v1.2.3