From e0093290827a1225b23621e5ef9b4583a8d06955 Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Sun, 5 Oct 2025 14:23:41 +0000 Subject: [PATCH] string: Make all functions static Signed-off-by: Michael Tremer --- src/daemon/string.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/daemon/string.h b/src/daemon/string.h index 3f5d982..46f9b8b 100644 --- a/src/daemon/string.h +++ b/src/daemon/string.h @@ -91,7 +91,7 @@ static inline int __collecty_string_set(char* s, const size_t length, const char return -ENOBUFS; } -inline void collecty_string_lstrip(char* s) { +static inline void collecty_string_lstrip(char* s) { if (!s) return; @@ -104,7 +104,7 @@ inline void collecty_string_lstrip(char* s) { memmove(s, s + 1, l--); } -inline void collecty_string_rstrip(char* s) { +static inline void collecty_string_rstrip(char* s) { if (!s) return; @@ -115,7 +115,7 @@ inline void collecty_string_rstrip(char* s) { 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); -- 2.47.3