From 0e2abed11985e16215559cefd90625f99317b96c Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Thu, 4 Oct 2007 16:25:58 +0000 Subject: 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 6ab0e225..ed076678 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