diff options
author | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-30 14:46:51 +0000 |
---|---|---|
committer | /C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org </C=JP/ST=JP/CN=Yasuyuki Kozakai/emailAddress=yasuyuki@netfilter.org> | 2007-07-30 14:46:51 +0000 |
commit | cbfc4dd2b468ec518eeea535bd8689325ba7335a (patch) | |
tree | be6e92e37536c8220593f51fce54c701285a4e16 /extensions/libipt_tos.c | |
parent | 2c586fbb6ac21fbfeb289df21d47c8726220422f (diff) |
Make the option structures const.
Signed-off-by: Jan Engelhardt <jengelh@gmx.de>
Diffstat (limited to 'extensions/libipt_tos.c')
-rw-r--r-- | extensions/libipt_tos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/libipt_tos.c b/extensions/libipt_tos.c index efc216c..2f5f915 100644 --- a/extensions/libipt_tos.c +++ b/extensions/libipt_tos.c @@ -9,7 +9,7 @@ #include <linux/netfilter_ipv4/ipt_tos.h> /* 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} }; |