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_sctp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libxt_sctp.c') diff --git a/extensions/libxt_sctp.c b/extensions/libxt_sctp.c index 2768ca59..634862b6 100644 --- a/extensions/libxt_sctp.c +++ b/extensions/libxt_sctp.c @@ -110,7 +110,7 @@ struct sctp_chunk_names { }; /*'ALL' and 'NONE' will be treated specially. */ -static struct sctp_chunk_names sctp_chunk_names[] +static const struct sctp_chunk_names sctp_chunk_names[] = { { .name = "DATA", .chunk_type = 0, .valid_flags = "-----UBE"}, { .name = "INIT", .chunk_type = 1, .valid_flags = "--------"}, { .name = "INIT_ACK", .chunk_type = 2, .valid_flags = "--------"}, -- cgit v1.2.3