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_dccp.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_dccp.c')
-rw-r--r-- | extensions/libxt_dccp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/libxt_dccp.c b/extensions/libxt_dccp.c index b6818cc5..d794c2dd 100644 --- a/extensions/libxt_dccp.c +++ b/extensions/libxt_dccp.c @@ -81,7 +81,7 @@ parse_dccp_ports(const char *portstring, free(buffer); } -static char *dccp_pkt_types[] = { +static const char *const dccp_pkt_types[] = { [DCCP_PKT_REQUEST] = "REQUEST", [DCCP_PKT_RESPONSE] = "RESPONSE", [DCCP_PKT_DATA] = "DATA", |