浏览代码

ipv4: Define cipso_v4_delopt static

There is no reason that cipso_v4_delopt() is not
defined as a static function.

Signed-off-by: Hagen Paul Pfeifer <hagen@jauu.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Hagen Paul Pfeifer 15 年之前
父节点
当前提交
4b17d50f9e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      net/ipv4/cipso_ipv4.c

+ 1 - 1
net/ipv4/cipso_ipv4.c

@@ -2017,7 +2017,7 @@ req_setattr_failure:
  * values on failure.
  *
  */
-int cipso_v4_delopt(struct ip_options **opt_ptr)
+static int cipso_v4_delopt(struct ip_options **opt_ptr)
 {
 	int hdr_delta = 0;
 	struct ip_options *opt = *opt_ptr;