From: Jan Echternach Date: Sun, 27 Aug 2000 07:39:08 +0000 (+0000) Subject: Jan Echternach's const tweak. X-Git-Tag: v1.2.1~124 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b6db33196870d3ec401a7ca87234dd2bc379c413;p=thirdparty%2Fiptables.git Jan Echternach's const tweak. --- diff --git a/include/ip6tables.h b/include/ip6tables.h index 9860e62f..2cbf2a34 100644 --- a/include/ip6tables.h +++ b/include/ip6tables.h @@ -44,7 +44,7 @@ struct ip6tables_match const struct ip6t_entry_match *match); /* Pointer to list of extra command-line options */ - struct option *extra_opts; + const struct option *extra_opts; /* Ignore these men behind the curtain: */ unsigned int option_offset; diff --git a/include/iptables.h b/include/iptables.h index 886d576b..7ae7ab34 100644 --- a/include/iptables.h +++ b/include/iptables.h @@ -44,7 +44,7 @@ struct iptables_match const struct ipt_entry_match *match); /* Pointer to list of extra command-line options */ - struct option *extra_opts; + const struct option *extra_opts; /* Ignore these men behind the curtain: */ unsigned int option_offset;