summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLee Duncan <lduncan@suse.com>2017-12-02 14:24:52 -0800
committerLee Duncan <lduncan@suse.com>2017-12-02 14:24:52 -0800
commitec9865c5b2a05908dff774eda352d84d6a001e1a (patch)
tree6d5f06b6f1c3e9d08eb11d3d33a0a0aed1962ce5
parent6d68ef5871c94c6ebbbe6e6b1fe0bc2dce711052 (diff)
downloadopen-iscsi-ec9865c5b2a05908dff774eda352d84d6a001e1a.tar.gz
Declare inline best_match_bufcmp() as static.
The 7.2.1 version of gcc seems to be more strict about this. See https://gcc.gnu.org/onlinedocs/gcc/Inline.html
-rw-r--r--iscsiuio/src/uip/ipv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/iscsiuio/src/uip/ipv6.c b/iscsiuio/src/uip/ipv6.c
index ced98a6..05efa73 100644
--- a/iscsiuio/src/uip/ipv6.c
+++ b/iscsiuio/src/uip/ipv6.c
@@ -49,7 +49,7 @@
#include "dhcpv6.h"
#include "ping.h"
-inline int best_match_bufcmp(u8_t *a, u8_t *b, int len)
+static inline int best_match_bufcmp(u8_t *a, u8_t *b, int len)
{
int i;