Эх сурвалжийг харах

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 16 жил өмнө
parent
commit
4b17d50f9e

+ 1 - 1
net/ipv4/cipso_ipv4.c

@@ -2017,7 +2017,7 @@ req_setattr_failure:
  * values on 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;
 	int hdr_delta = 0;
 	struct ip_options *opt = *opt_ptr;
 	struct ip_options *opt = *opt_ptr;