LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
From: Adrian Bunk <bunk@kernel.org>
To: Paul Moore <paul.moore@hp.com>, James Morris <jmorris@namei.org>,
coreteam@netfilter.org
Cc: linux-kernel@vger.kernel.org
Subject: [2.6 patch] make secmark_tg_destroy() static
Date: Wed, 13 Feb 2008 23:29:40 +0200 [thread overview]
Message-ID: <20080213212940.GH3383@cs181133002.pp.htv.fi> (raw)
This patch makes the needlessly global secmark_tg_destroy() static.
Signed-off-by: Adrian Bunk <bunk@kernel.org>
---
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:
next reply other threads:[~2008-02-13 21:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-13 21:29 Adrian Bunk [this message]
2008-02-13 21:34 ` Paul Moore
2008-02-13 23:41 ` James Morris
2008-02-14 5:56 ` David Miller
2008-02-14 1:41 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080213212940.GH3383@cs181133002.pp.htv.fi \
--to=bunk@kernel.org \
--cc=coreteam@netfilter.org \
--cc=jmorris@namei.org \
--cc=linux-kernel@vger.kernel.org \
--cc=paul.moore@hp.com \
--subject='Re: [2.6 patch] make secmark_tg_destroy() static' \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).