Blame SOURCES/open-iscsi-2.0.875-11-Declare-inline-best_match_bufcmp-as-static.patch

47585c
From ec9865c5b2a05908dff774eda352d84d6a001e1a Mon Sep 17 00:00:00 2001
47585c
From: Lee Duncan <lduncan@suse.com>
47585c
Date: Sat, 2 Dec 2017 14:24:52 -0800
47585c
Subject: [PATCH] Declare inline best_match_bufcmp() as static.
47585c
47585c
The 7.2.1 version of gcc seems to be more strict
47585c
about this.  See https://gcc.gnu.org/onlinedocs/gcc/Inline.html
47585c
---
47585c
 iscsiuio/src/uip/ipv6.c | 2 +-
47585c
 1 file changed, 1 insertion(+), 1 deletion(-)
47585c
47585c
diff --git a/iscsiuio/src/uip/ipv6.c b/iscsiuio/src/uip/ipv6.c
47585c
index ced98a678899..05efa73fcfdd 100644
47585c
--- a/iscsiuio/src/uip/ipv6.c
47585c
+++ b/iscsiuio/src/uip/ipv6.c
47585c
@@ -49,7 +49,7 @@
47585c
 #include "dhcpv6.h"
47585c
 #include "ping.h"
47585c
 
47585c
-inline int best_match_bufcmp(u8_t *a, u8_t *b, int len)
47585c
+static inline int best_match_bufcmp(u8_t *a, u8_t *b, int len)
47585c
 {
47585c
 	int i;
47585c
 
47585c
-- 
47585c
2.17.2
47585c