Explorar o código

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 %!s(int64=15) %!d(string=hai) anos
pai
achega
4b17d50f9e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;