Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
return -ENOBUFS;
}
-inline void collecty_string_lstrip(char* s) {
+static inline void collecty_string_lstrip(char* s) {
if (!s)
return;
memmove(s, s + 1, l--);
}
-inline void collecty_string_rstrip(char* s) {
+static inline void collecty_string_rstrip(char* s) {
if (!s)
return;
s[l-- - 1] = '\0';
}
-inline void collecty_string_strip(char* s) {
+static inline void collecty_string_strip(char* s) {
// Strip everything on the left side
collecty_string_lstrip(s);