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/libip6t_LOG.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_LOG.c') diff --git a/extensions/libip6t_LOG.c b/extensions/libip6t_LOG.c index 737a597e..772e8f36 100644 --- a/extensions/libip6t_LOG.c +++ b/extensions/libip6t_LOG.c @@ -57,7 +57,7 @@ struct ip6t_log_names { unsigned int level; }; -static struct ip6t_log_names ip6t_log_names[] +static const struct ip6t_log_names ip6t_log_names[] = { { .name = "alert", .level = LOG_ALERT }, { .name = "crit", .level = LOG_CRIT }, { .name = "debug", .level = LOG_DEBUG }, -- cgit v1.2.3