# HG changeset patch
# User Edouard Tisserant
# Date 1594034948 -7200
# Node ID 30adcffcf8e68fd454492d3f9443dd41eccb00ea
# Parent  220ddcce851dac93b90bc1d16bf3f2b4528835f3
Fix in standard function library: forgot static linkage for inline __str_cmp()

diff -r 220ddcce851d -r 30adcffcf8e6 lib/C/iec_std_functions.h
--- a/lib/C/iec_std_functions.h	Tue Jun 30 11:23:37 2020 +0200
+++ b/lib/C/iec_std_functions.h	Mon Jul 06 13:29:08 2020 +0200
@@ -890,7 +890,7 @@
 __iec_(TIME)
 #undef __iec_
 
-inline int __str_cmp(uint8_t* str1, __strlen_t len1, uint8_t* str2, __strlen_t len2) { 
+static inline int __str_cmp(uint8_t* str1, __strlen_t len1, uint8_t* str2, __strlen_t len2) { 
     int cmp = memcmp(str1, str2, len1 < len2 ? len1 : len2);
     return cmp ? cmp : (len1 > len2 ? 1 : (len1 < len2 ? - 1 : 0));
 }