From 69f564e3890976461de0016cd81171ff8bfa8353 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Tue, 26 May 2009 13:14:06 +0200 Subject: extensions: add const qualifiers in print/save functions Signed-off-by: Jan Engelhardt --- extensions/libip6t_hl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'extensions/libip6t_hl.c') diff --git a/extensions/libip6t_hl.c b/extensions/libip6t_hl.c index 9252c3dc..ff76b74d 100644 --- a/extensions/libip6t_hl.c +++ b/extensions/libip6t_hl.c @@ -89,7 +89,7 @@ static void hl_check(unsigned int flags) static void hl_print(const void *ip, const struct xt_entry_match *match, int numeric) { - static const char *op[] = { + static const char *const op[] = { [IP6T_HL_EQ] = "==", [IP6T_HL_NE] = "!=", [IP6T_HL_LT] = "<", -- cgit v1.2.3