src/string.c

changeset 1646
85fd3ff8416e
parent 1644
bbe3199e37fc
--- a/src/string.c	Sun Dec 21 11:09:46 2025 +0100
+++ b/src/string.c	Sun Dec 21 23:58:30 2025 +0100
@@ -248,10 +248,7 @@
 #endif
 const unsigned cx_strstr_sbo_size = CX_STRSTR_SBO_SIZE;
 
-cxstring cx_strstr(
-        cxstring haystack,
-        cxstring needle
-) {
+cxstring cx_strstr_(cxstring haystack, cxstring needle) {
     if (needle.length == 0) {
         return haystack;
     }
@@ -321,7 +318,7 @@
     return result;
 }
 
-cxmutstr cx_strstr_m(
+cxmutstr cx_strstr_m_(
         cxmutstr haystack,
         cxstring needle
 ) {

mercurial