浏览代码

[NETFILTER]: make secmark_tg_destroy() static

This patch makes the needlessly global secmark_tg_destroy() static.

Signed-off-by: Adrian Bunk <bunk@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Adrian Bunk 17 年之前
父节点
当前提交
f51f5ec690
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/netfilter/xt_SECMARK.c

+ 1 - 1
net/netfilter/xt_SECMARK.c

@@ -111,7 +111,7 @@ secmark_tg_check(const char *tablename, const void *entry,
 	return true;
 	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) {
 	switch (mode) {
 	case SECMARK_MODE_SEL:
 	case SECMARK_MODE_SEL: