From 661f112072bc13a1625c4eb5983695e122ea97da Mon Sep 17 00:00:00 2001 From: Jan Engelhardt Date: Mon, 30 Jul 2007 14:46:51 +0000 Subject: Make the option structures const. Signed-off-by: Jan Engelhardt --- extensions/libipt_tos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extensions/libipt_tos.c') diff --git a/extensions/libipt_tos.c b/extensions/libipt_tos.c index efc216c4..2f5f9159 100644 --- a/extensions/libipt_tos.c +++ b/extensions/libipt_tos.c @@ -9,7 +9,7 @@ #include /* TOS names and values. */ -static +static const struct TOS_value { unsigned char TOS; @@ -42,7 +42,7 @@ IPTABLES_VERSION); fputc('\n', stdout); } -static struct option opts[] = { +static const struct option opts[] = { { "tos", 1, 0, '1' }, {0} }; -- cgit v1.2.3