diff options
author | Jan Engelhardt <jengelh@medozas.de> | 2007-10-04 16:25:58 +0000 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2007-10-04 16:25:58 +0000 |
commit | 0e2abed11985e16215559cefd90625f99317b96c (patch) | |
tree | 00ea59a5a5b9c0e764def3c9925a206eef809a82 /extensions/libxt_sctp.c | |
parent | 278654a9aa89311eb624dc5b79b5b37d99248129 (diff) |
Constify data structures
Constify more data structures. Make functions static.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libxt_sctp.c')
-rw-r--r-- | extensions/libxt_sctp.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 = "--------"}, |