Messages in this thread |  | | | From | Paul Moore <> | | Subject | Re: [2.6 patch] make secmark_tg_destroy() static | | Date | Wed, 13 Feb 2008 16:34:51 -0500 | |
On Wednesday 13 February 2008 4:29:40 pm Adrian Bunk wrote:
> This patch makes the needlessly global secmark_tg_destroy() static.
>
> Signed-off-by: Adrian Bunk <bunk@kernel.org>
Thanks for catching this.
Acked-by: Paul Moore <paul.moore@hp.com>
> ---
> df66d8d74309b41298ae011532fd284aad3ed2ba
> diff --git a/net/netfilter/xt_SECMARK.c b/net/netfilter/xt_SECMARK.c
> index 7708e20..c028485 100644
> --- a/net/netfilter/xt_SECMARK.c
> +++ b/net/netfilter/xt_SECMARK.c
> @@ -111,7 +111,7 @@ secmark_tg_check(const char *tablename, const
> void *entry, return true;
> }
>
> -void secmark_tg_destroy(const struct xt_target *target, void
> *targinfo) +static void secmark_tg_destroy(const struct xt_target
> *target, void *targinfo) {
> switch (mode) {
> case SECMARK_MODE_SEL:
--
paul moore
linux security @ hp
|  |