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