make secmark_tg_destroy() static
Subsystems (3)
PATCH 1/1 make secmark_tg_destroy() static
This patch makes the needlessly global secmark_tg_destroy() static.
---df66d8d74309b41298ae011532fd284aad3ed2ba
net/netfilter/xt_SECMARK.c +1 -1
@@ -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 :
Quoted 3 lines · Adrian Bunk
This patch makes the needlessly global
secmark_tg_destroy()static.Signed-off-by Adrian Bunk <[email protected]>
Thanks for catching this.
Quoted 15 lines
---
df66d8d74309b41298ae011532fd284aad3ed2banet/netfilter/xt_SECMARK.c +0
-1@@ -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 :
Signature · 2 lines
paul moore linux security @ hp
Quoted 9 lines · Paul Moore
Quoted 3 lines · Adrian Bunk
This patch makes the needlessly global
secmark_tg_destroy()static.Signed-off-by Adrian Bunk <[email protected]>Thanks for catching this.
Acked-by Paul Moore <[email protected]>
Applied -- will push to Linus unless the netfilter folk do it first.
- James
Signature · 2 lines
James Morris <[email protected]>
David Miller
maintainerFrom: James Morris <[email protected]>
Date: Thu, 14 Feb 2008 10:41:19 +1100 (EST)
Quoted 5 lines · Paul Moore
Quoted 4 lines · Adrian Bunk
Quoted 2 lines
This patch makes the needlessly global
secmark_tg_destroy()static.
Quoted 8 lines
Quoted 6 lines
Quoted 1 line
Signed-off-by Adrian Bunk <[email protected]>Thanks for catching this.
Acked-by Paul Moore <[email protected]>Applied -- will push to Linus unless the netfilter folk do it first.
I sucked it in, don't worry about it.
From: Adrian Bunk <[email protected]>
Date: Wed, 13 Feb 2008 23:29:40 +0200
Quoted 3 lines
This patch makes the needlessly global
secmark_tg_destroy()static.Signed-off-by Adrian Bunk <[email protected]>
Applied.