summaryrefslogtreecommitdiffstats
path: root/extensions/libxt_tcp.c
diff options
context:
space:
mode:
authorJan Engelhardt <jengelh@medozas.de>2007-10-04 16:25:58 +0000
committerPatrick McHardy <kaber@trash.net>2007-10-04 16:25:58 +0000
commit0e2abed11985e16215559cefd90625f99317b96c (patch)
tree00ea59a5a5b9c0e764def3c9925a206eef809a82 /extensions/libxt_tcp.c
parent278654a9aa89311eb624dc5b79b5b37d99248129 (diff)
Constify data structures
Constify more data structures. Make functions static. Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_tcp.c')
-rw-r--r--extensions/libxt_tcp.c2
1 files changed, 1 insertions, 1 deletions
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 },